Accessible PDF
Capture the ZShot Café receipt as a tagged PDF at the page’s own print size, saved to receipt.pdf.
zshot -f receipt.pdf \
--pdf-prefer-css-page-size \
--pdf-generate-tagged-pdf \
https://zshot-cli.com/example_assets/cafe/{
"url": "https://zshot-cli.com/example_assets/cafe/",
"output_type": "pdf",
"pdf_prefer_css_page_size": true,
"pdf_generate_tagged_pdf": true
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/cafe/","output_type":"pdf","pdf_prefer_css_page_size":true,"pdf_generate_tagged_pdf":true}' \
-o receipt.pdf