Check PDF for printing
check_pdf_marginsUse this when the user has a PDF they want printed and posted and it should be checked first: verifies A4 page size and the required free margin on every side, and lists the pages that need changes. Accepts a public https URL or base64. The file is not stored and nothing is sent. Works without sign-in. To fix a failing PDF, upload it with upload_document and use fix_document_margins.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdf_url | No | ||
| pdf_base64 | No | The PDF as base64, for files up to about 3 MB. Larger files: pass pdf_url, or use create_upload_link. |