PDF-generation

You can generate a PDF from any page in Dynamicweb by adding pdf=true to the page URL.

The default pdf-size can be set in Settings > System > Solution settings > Pdf – but it can be overruled by query string parameters.

The following query string parameters can be used to control the pdf-generation process:

Parameter

Effect

&filename=YourFileName.pdf

Controls the name of the file

&leftRightMargin=10

Controls the left and right margin in mm

&topBottomMargin=10

Controls the top and bottom margin in mm

&landscape=true

Set orientation to landscape instead of horizontal

&pagesize=A4

Changes the format to A4