Edit this page

pdf.template String (default: null)

A piece of HTML to be included in each page. Can be used to display headers and footers. See the documentation in drawDOM.

Available template variables include:

  • pageNum
  • totalPages

Important Using a template requires setting paper size

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article