Page footer via footer.html; header falls back to default.

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.

Download the PDF — footer_template / default.

footer_template / default — Download PDF

Inputs

Render data

default

{}

PDF parameters

params.json

{
  "pdf": {
    "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

footer.html

<html>
    <b>footer</b>
</html>

template.html

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