U
U
unet9002014-10-23 15:24:28
Google Chrome
unet900, 2014-10-23 15:24:28

How to make google chrome generate pdf via api??

This means that such a Wkhtmltopdf thing cannot be forced to render a page with JS,
chrome allows you to save the document in pdf when printing and renders everything well.
Is it possible to programmatically give chrome a task to execute certain instructions.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
uptech, 2018-01-17
@uptech

For example, via headless-chrome:
https://gist.github.com/monochromer/b80bc20c36b9e2...
you can also via electron:
https://www.npmjs.com/package/electron-html-to

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question