zshot/cliDownload

--pdf-prefer-css-page-size

CLI
--pdf-prefer-css-page-size

Sizes the PDF page from the page’s CSS @page rule instead of --pdf-width and --pdf-height.

Example

Run locally
zshot -f receipt.pdf \
  --pdf-prefer-css-page-size \
  https://zshot-cli.com/example_assets/cafe/