In this demo you can convert an URL a custom HTML code to PDF. You can control the PDF page size and orientation, PDF page margins, browser width, height and zoom.

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.
URL
PDF Page Settings
Size: Orientation:
Margins: Left: pt Right: pt Top: pt Bottom: pt
Browser Settings
Width: px Height: px Zoom: %
Wait Before Convert: sec HTML Load Timeout: sec
Media Type:
Security
Set Open Password: