Skip to content
HomePagesHomePages template kit

printPageSize

The printed paper size for a document format: the bleed box as exact CSS inch strings.

The printed paper size for a document format: the bleed box as exact CSS inch strings. Inches are the lossless unit here — a browser driver converts them to PDF points at exactly 72/in, so the emitted page boxes carry the declared physical geometry verbatim (they equal the resolved pointWidth/pointHeight).

Import from @homepages/template-kit.

function printPageSize(format: DocumentFormat): PrintPageSize
Name Type Required Description
format DocumentFormat required

PrintPageSize