Re:Show HN: Ready-to-use API to convert any web page to PDF ...
by ak39 on Thursday November 02, 2017 @05:24PM
(#15614417)
Any info how this compares to commercial html to pdf renderers like PrinceXML?
[ Parent
| on HN ]
Re:Show HN: Ready-to-use API to convert any web page to PDF ...
by schneidmaster on Thursday November 02, 2017 @06:08PM
(#15614757)
In my experience, Prince is great for static HTML + CSS rendering, but its JavaScript engine is pretty lackluster -- I couldn't get it to work with rendering React components, for example. So it depends a lot on your use case and if you can server-side render everything. It's also pretty pricey[1] -- not that I mind paying for quality software but that sticker could be prohibitive for a lot of folks.
Re:Show HN: Ready-to-use API to convert any web page to PDF ...
by jamespaden on Friday November 03, 2017 @08:45AM
(#15618703)
I'm a developer at https://docraptor.com. We're an official Prince partner with a SaaS pricing model, but we've got a separate JavaScript engine for that very reason.
Re:Show HN: Ready-to-use API to convert any web page to PDF ...
by defenestration on Thursday November 02, 2017 @05:42PM
(#15614549)
I would like to know that as well. We are using wkhtmltopdf for around 2 years. Had many issues with incompatible css. I considered PrinceXML. Looked solid, but a bit expensive and also lacking some css support. I'm considering switching to Puppeteer / Chrome.
Re:Show HN: Ready-to-use API to convert any web page to PDF ...
by jancurn on Thursday November 02, 2017 @07:32PM
(#15615342)
If you'd like to add specific features, please let me know at [email protected], I'm sure we'll figure it out
Re:Show HN: Ready-to-use API to convert any web page to PDF ...
by waddlesworth on Friday November 03, 2017 @01:42AM
(#15616919)
My main concern is support for the CSS3 Paged Media Module.
I have been using PDFReactor for this reason, as wkhtml2pdf and weasyprint have had problems, as will any webkit or chromium based renderer because these layout systems simply do not support paged printing.
Re:Show HN: Ready-to-use API to convert any web page to PDF ...
by defenestration on Friday November 03, 2017 @06:58AM
(#15618150)
Thanks, as a follow-up I found this comparison between PrinceXML and PDFReactor: https://www.print-css.rocks/tools.html