Skip to content

PrintOrientation

Page orientation for the print layout.

  • 'portrait' — Taller than wide. Best for grids with few columns.
  • 'landscape' — Wider than tall. Preferred when many columns need to fit on one page.

Applied via a @page { size } CSS rule in the print stylesheet.

type PrintOrientation = "portrait" | "landscape"
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt