Skip to main content

params_template

Static body with a full params.json (landscape, margins, scale).

Browse this template in the repository →

The PDFs below are rendered live by PDF Server from the shipped examples.

default

Your browser can’t display this PDF inline — use the download link below.

Download PDF — params_template / default

Inputs

Render data

default

{}

PDF parameters

params.json

{
"pdf": {
"waitLifecycleEvent": "DOMContentLoaded",
"landscape": true,
"printBackground": true,
"Scale": 2.0,
"paperWidth": 20.0,
"paperHeight": 20.0,
"marginTop": 2.0,
"marginBottom": 2.0,
"marginLeft": 2.0,
"marginRight": 2.0,
"preferCSSPageSize": true
}
}

Template

template.html

<html>
<head>
</head>
<body>
<h1>Styled template</h1>
</body>
</html>