Set one margin on all sides
For the standard page options,page.margin is a whole number from 8 to 35, measured in millimetres. This example can go directly to POST /v1/documents.
Set edges independently
On the 1.1 build,print.margins controls the Chromium PDF print area. Specify a length with a unit for each edge you want to override. Omitted edges retain their page margin.
px, pt, mm, cm and in, with up to three decimal places. Each edge must convert to 0–500 CSS pixels (96 px per inch). For structured Typst templates, set the template’s page margin. For HTML with repeated bands, leave room for the header and footer.