PDF differs from screen
The page may define print CSS; choose media_type deliberately.
Invoices, reports and receipts, rendered by the same browser your customers use to view them.
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 '{"url":"https://example.com","pdf_paper_format":"a4","format":"pdf","pdf_print_background":true}' \
-o capture.pdfA0 through A6, Letter, Legal, Tabloid and Ledger.
pdf_margin sets all four; the per-side parameters override it.
pdf_print_background keeps the CSS backgrounds most print stylesheets drop.
Measures the document and builds a custom paper size, capped so the result stays readable.
The worker validates and opens the requested URL.
Chromium applies the requested screen/print media, paper and margins.
Receive PDF bytes or route the file to configured storage.
Calling page.pdf() is small; safely navigating arbitrary URLs and operating Chromium is the larger boundary.
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.