pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Tosovsky" <j.tosov...@email.cz>
Subject RE: Enquiry on HTML to PDF conversion
Date Wed, 06 Dec 2017 19:22:34 GMT
On 2017-12-06 Diego Azevedo wrote:
> On 2017-12-06 amanda mak wrote:
> > I would like to enquire whether PDFBox provides any API or CLI to convert
> > HTML to PDF?

> Unfortunately PDFBox has no such tool, but a user recomended two projects
> that solve this problem on a similar question before

For web pages I'd rather use some headless browser:
https://developers.google.com/web/updates/2017/04/headless-chrome

chrome --headless --disable-gpu --print-to-pdf https://www.chromestatus.com/

Btw, Firefox has no such possibility yet, see https://developer.mozilla.org/en-US/Firefox/Headless_mode

Jan


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message