News for hackers. Stuff that matters.
Re:Show HN: Gutenberg – Modern CSS framework to print the we... by Roritharr on Thursday March 02, 2017 @04:57AM (#13772923)
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.
Re:Show HN: Gutenberg – Modern CSS framework to print the we... by matthewmacleod on Thursday March 02, 2017 @05:41AM (#13773100)
I'm pretty sure that wkhtmltopdf supported these too, last time I used it, though it's been quite a while now.
Re:Show HN: Gutenberg – Modern CSS framework to print the we... by boundlessdreamz on Thursday March 02, 2017 @11:13AM (#13775174)
Printfriendly PDF API supports it. https://www.printfriendly.com/api
Re:Show HN: Gutenberg – Modern CSS framework to print the we... by addedlovely on Thursday March 02, 2017 @06:22AM (#13773294)
Checkout https://docraptor.com/ - it's great - is commercial but affordable.
Re:Show HN: Gutenberg – Modern CSS framework to print the we... by Alex3917 on Thursday March 02, 2017 @07:58AM (#13773686)
Docraptor is just the SaaS version of PrinceXML, the underlying software is the same. Much more affordable for small jobs though!
Re:Show HN: Gutenberg – Modern CSS framework to print the we... by jamespaden on Friday March 03, 2017 @07:44AM (#13782466)
DocRaptor is based on PrinceXML, but also includes a much more advanced JavaScript engine
Re:Show HN: Gutenberg – Modern CSS framework to print the we... by TimMeade on Thursday March 02, 2017 @06:33AM (#13773343)
This looks interesting. Thanks, we are going to try it out.
Re:Show HN: Gutenberg – Modern CSS framework to print the we... by Globz on Thursday March 02, 2017 @11:29AM (#13775347)
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.
Re:Show HN: Gutenberg – Modern CSS framework to print the we... by haar on Thursday March 02, 2017 @05:56AM (#13773171)
PhantomJS supports it too (either through `html-pdf` or manually).
Re:Show HN: Gutenberg – Modern CSS framework to print the we... by Roritharr on Thursday March 02, 2017 @06:22AM (#13773295)
I was looking into PhantomJS, this must be added since then. Great!
Re:Show HN: Gutenberg – Modern CSS framework to print the we... by coldtea on Thursday March 02, 2017 @06:34AM (#13773348)
webkittopdf supported them just fine. And so does phantomjs when printing pdfs IIRC.
Re:Show HN: Gutenberg – Modern CSS framework to print the we... by criddell on Thursday March 02, 2017 @10:59AM (#13775018)
It's too bad webkittopdf is macOS only.
Re:Show HN: Gutenberg – Modern CSS framework to print the we... by coldtea on Thursday March 02, 2017 @02:53PM (#13777593)
Webkittopdf (or however it's called) is cross platform, based on the Qt port of Webkit.
Re:Show HN: Gutenberg – Modern CSS framework to print the we... by edoceo on Thursday March 02, 2017 @12:29PM (#13776058)
There is a wkhtml thing on Linux, but I use Phantom for this
Re:Show HN: Gutenberg – Modern CSS framework to print the we... by hermiti on Thursday March 02, 2017 @01:37PM (#13776838)
Re:Show HN: Gutenberg – Modern CSS framework to print the we... by dom96 on Thursday March 02, 2017 @08:06AM (#13773726)
weasyprint supports it
Re:Show HN: Gutenberg – Modern CSS framework to print the we... by JoelSanchez on Thursday March 02, 2017 @05:54AM (#13773163)
dompdf supports this.
Re:Show HN: Gutenberg – Modern CSS framework to print the we... by _phazor on Thursday March 02, 2017 @05:17AM (#13773018)
What about Chrome? File -> Print -> Save as PDF. Works fine with these print properties as far as I can tell.