Skip to content

PDF Profiles

The pdf_profile field controls the PDF/A compliance level of the generated document.

Supported Profiles

Profile StringStandardFeatures
"" (Empty)Standard PDFNo specific compliance. Smallest file size.
pdfa-1bPDF/A-1bArchival (Basic). Widely supported.
pdfa-2bPDF/A-2bArchival (Basic). Supports transparency.
pdfa-ua1PDF/UA-1Universal Accessibility. Strict tagging requirements.
pdfa-1aPDF/A-1aArchival (Advanced). Accessible.

Validation Errors (E002)

If a non-empty pdf_profile is provided, it MUST be one of the supported strings above.

CAUTION

Providing an invalid or unsupported profile string (e.g., pdfa-4u) will result in an E002 Error Overlay on the PDF.

TIP

If you do not require specific PDF/A compliance, leave pdf_profile as an empty string "". This is the recommended default for general purpose printing.