In this demo you can convert an URL or a custom HTML code to PDF. You can control the PDF page size and orientation, browser width, add header and footer with page numbering, embed true type fonts in the generated PDF document, set conversion triggering mode.

As a security option it is possible to set a password requested when the created PDF document document is opened and it is possible to disable the document printing when it is opened in a viewer. See demo source code and details.
URL
PDF Settings
Page Size:
Page Orientation:
Conversion Settings
Browser Width: px
Triggering Mode:
Security
Set Open Password: