Question

I have some documents in HTML and i need it to be printed/generated on server (no UI, automated, linux based).

I'm very satisfied with Google Chrome "html to pdf" of the documents but i'm wondering is it possible to use that "component" of "html to pdf" printing engine from Google Chrome Browser somehow for this purpose?

Was it helpful?

Solution

Actually i found the solution: First one wkhtmltopdf http://code.google.com/p/wkhtmltopdf/

And at the end i realized that mpdf (php lib) can help me too :)

OTHER TIPS

If you needed an HTTP API service to convert HTML to PDF from an URL you may want to check this answer that I wrote that explains how to do it.

Example:

https://dhtml2pdf.herokuapp.com/api.php?url=https://www.github.com&result_type=show

shows in the browser the PDF generated of the site https://www.github.com.

See the project in Github.

Hope it helps.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top