Skip to content

tomhense/chromehtml2pdf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%