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: [email protected] For additional commands, e-mail: [email protected]

