Sometimes it is necessary to wait until the web is completely drawn before generating the PDF, for example by using jsMath to generate equations (or other JavaScript to do something). It would be interesting to have an option that lets you set the delay to ensure proper PDF generation.
Thank you very much for your work.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | Image loading too slow :( | 68.94 KB | FranCarstens |
| #5 | Image loaded in time :) | 71.31 KB | FranCarstens |
Comments
Comment #1
jcnventuraHi,
Since you're talking about Javascript, I am assuming you're using wkhtmltopdf.
In that case, you can add the "--javascript-delay " option at the bottom of admin/settings/print/pdf.
João
Comment #2
bigcrunch commentedHi,
I can't use wkhtmltopdf because my web page is in a corporation server :( I use TCPDF
Comment #4
FranCarstens commentedSorry for opening this again... is it possible to have a delay before the print dialogue is opened? (HTML version)
I'm having an issue where the browser doesn't always have time to load the images on the page before the dialogue opens. In Safari it freezes, and in Chrome it's rendering empty image blocks :(
I'm using higher resolution images for the print version (custom template) to get sharper output.
Thanks :D love this module!
Comment #5
FranCarstens commentedOh, I forgot my screenshots. :(
Comment #6
jcnventuraThat's now issue #1579870: Window open + print + close, has some issues in non-Firefox browsers
Comment #7
FranCarstens commentedThanks. :D