Skip to main content

Render a two-page proof

Post this body to document generation on a 1.1 build. The explicit page break makes the second-page footer easy to check.
Open the completed PDF. The footer should read Page 1 of 2 on the warehouse copy and Page 2 of 2 on the recipient copy.

Format a print band

For Chromium PDFs, each HTML band accepts up to 4,000 characters. Use simple elements such as div, span, strong and br. Set font size and alignment inline. The body stylesheet does not style the bands. Supported placeholders include {page}, {pages}, {date}, {title} and {url}. Set print.startAt to the first source page that should show the bands, for example 2 to omit them on a cover. For simpler Chromium jobs, page.header and page.footer accept plain text. Structured templates use their template page settings. Reserve vertical space with margins if a band appears clipped.