P
P
pqgg7nwkd42016-08-31 19:54:17
Google Chrome
pqgg7nwkd4, 2016-08-31 19:54:17

How to convert html file to pdf using chrome or firefox?

Good afternoon.
It is necessary to "render" a simple html file to PDF with the quality that browsers do.
If at the same time javascript is still executed - generally super.
Requirements:
- the method should work both in linux and in windows.
- the method should work without graphics, i.e. no windows should be displayed.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2016-08-31
@xmoonlight

Even WITHOUT chrome or FireFox, you can turn an HTML file into a PDF like this:
phantom.js + https://www.npmjs.com/package/phantomjs-render-worker

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question