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

In this article
Not finding the help you need? Improve this article