Unexpected page break
Use print CSS break rules and test with the same paper size as production.
Invoices, receipts and reports can go straight from your template to PDF, with no temporary public URL in between.
No result yet
Complete the settings and run the tool. Images, PDFs, text, and video all preview in this panel.
curl --fail-with-body "https://api.pagecapture.dev/v1/take" \
-H "X-Access-Key: $PAGECAPTURE_KEY" \
-H "Content-Type: application/json" \
--data '{"html":"<article style=\"font: 16px system-ui; padding: 32px\"><h1>Invoice 1042</h1><p>Total: $125.00</p></article>","format":"pdf","pdf_paper_format":"a4","pdf_print_background":true}' \
-o capture.pdfThe document travels in the POST body and is rendered from a controlled origin.
Chromium prints a PDF; it does not wrap a screenshot inside a page.
Use page-break rules, paper size and margins from the same request.
Keep CSS backgrounds when the document design depends on them.
POST the document body, styles and PDF options.
Chromium lays out paper size, margins, backgrounds and page breaks.
The response is a real PDF with selectable text and links.
A server-side PDF library is often better for simple documents with no browser CSS dependency.
No default is supplied: we do not invent engineering-hour savings.
This is an editable scenario, not a savings claim. Only successful captures that miss cache are billable.
Written by PageCapture Engineering. Reviewed by PageCapture API maintainers. Last tested 2026-08-11.
cURL, TypeScript and Python executed against controlled fixtures; request contract and artifact format verified.
Ready to try it against your own page?
Return to the configured demo