Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question