Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Roritharr
· 9y ago · 0 comments
The problem with those, the last time i checked, was that most html to pdf solutions don't support them. The only one I could find was Prince (
https://www.princexml.com/
) , which is commercial and rather pricey.
Comments
[–]
matthewmacleod
9y ago
I'm pretty sure that wkhtmltopdf supported these too, last time I used it, though it's been quite a while now.
[–]
boundlessdreamz
9y ago
Printfriendly PDF API supports it.
https://www.printfriendly.com/api
[–]
addedlovely
9y ago
Checkout
https://docraptor.com/
- it's great - is commercial but affordable.
[–]
Alex3917
9y ago
Docraptor is just the SaaS version of PrinceXML, the underlying software is the same. Much more affordable for small jobs though!
[–]
jamespaden
9y ago
DocRaptor is based on PrinceXML, but also includes a much more advanced JavaScript engine
[–]
TimMeade
9y ago
This looks interesting. Thanks, we are going to try it out.
[–]
Globz
9y ago
I am using wkhtmltopdf for turning HTML orders to PDF for my company, I have no page break problems and printing is working like charm.
[–]
haar
9y ago
PhantomJS supports it too (either through `html-pdf` or manually).
[–]
Roritharr
OP
9y ago
I was looking into PhantomJS, this must be added since then. Great!
[–]
coldtea
9y ago
webkittopdf supported them just fine. And so does phantomjs when printing pdfs IIRC.
[–]
criddell
9y ago
It's too bad webkittopdf is macOS only.
[–]
coldtea
9y ago
Webkittopdf (or however it's called) is cross platform, based on the Qt port of Webkit.
[–]
edoceo
9y ago
There is a wkhtml thing on Linux, but I use Phantom for this
[–]
hermiti
9y ago
Also on windows.
http://wkhtmltopdf.org/downloads.html
[–]
dom96
9y ago
weasyprint supports it
[–]
JoelSanchez
9y ago
dompdf supports this.
[–]
_phazor
9y ago
What about Chrome? File -> Print -> Save as PDF. Works fine with these print properties as far as I can tell.