Skip to content

johnnymajor/htmlToPdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HTML to PDF

Quickly create/render PDF from an URL via the browser. This doesn't support cross origin.

Uses

Parameters

  • url (required) - url that will be used to create the PDF
  • title - title of the PDF
  • delayConvert - how long to wait to convert the page after it loads. Defaults to 150 milliseconds
  • containerId - specific id of an element on the page to convert otherwise will use the full document

Example URL

http://IP:port/htmlToPdf.html?url=/order/invoice/index.html&title=Invoice

Demo

About

create/render PDF from an HTML URL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages