tomhense/chromehtml2pdf
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
This is a fork of ericmason/chromehtml2pdf with a few small changes to suit my usecase better. chromehtml2pdf --out out.pdf https://wikipedia.org to generate a PDF of that web page. For local files use: chromehtml2pdf --out out.pdf --local-file file.htm There are a number of optional arguments for how to print (margins, page sizes, orientation, header/footer, etc.). To see all of the options, once installed type chromehtml2pdf --help If you have issues with chrome not wanting to start in sandbox-mode you can pass the --no-sandbox flag to disable sandbox-mode.