4 ms·
We've had good success with wkhtmltopdf All of our invoices and reports are built for the web and then converted on the fly to pdfs and emailed out to clients
by gearhart 12y ago
We've had good success with wkhtmltopdf
All of our invoices and reports are built for the web and then converted on the fly to pdfs and emailed out to clients who prefer them that way. You lose the interactivity, which is a shame for some d3 reports, and you have to be a little careful (design for page breaks, test it as if it's a slightly fickle browser that you have to support, ensure that everything is visible without requiring interaction) but it keeps all of your development within the same tool stack and gives you web versions of them all for free.
For reference, I ran it on the textures.js page and put the results here: https://drive.google.com/file/d/0B5BP6Na7GalZOXdWdlh6MElWTDQ/view?usp=sharing https://drive.google.com/file/d/0B5BP6Na7GalZOXdWdlh6MElWTDQ...
It's pretty good.