I have tried printing FullCalendar.js rendered calendars to PDF, however none of the generators available seem to work:
- Aspose PDF does not allow JavaScript, and straight up just doesn't support absolutely positioned elements
- PrinceXML has known issues where it throws TypeError exceptions when processing JavaScript that are not reproducible in IE, Chrome or Firefox.
My minimal repro example for PrinceXML failure is the examples on Adam Shaw's FullCalendar site. Even when I save the generated HTML (via $("body").html()
) and pass the generated HTML to PrinceXML, thus bypassing PrinceXML's incorrect JavaScript handling, PrinceXML doesn't lay out the absolutely positioned events correctly.
What are my options?