Skip to main content

Paper

Named sizes: A0A6, Letter, Legal, Tabloid, Ledger (default A4). Custom: "210mmx297mm" or 11x17 (inches when units are omitted). Or pair paper_width / paper_height. Single scrolling page: "format": "1024xauto" (unitless width is CSS pixels, ÷96 → inches) or "single_page": true. Do not combine with pages.
Header/footer HTML supports only the page and total placeholders (double curly braces). No other tokens are rewritten.
print_background includes CSS backgrounds. landscape rotates the page. scale / zoom (alias) defaults to 1.