chickadee » pdfa » with-pdfa-document-to-file

(with-pdfa-document-to-file (PDFA-DOC DOC [COMPRESS-STREAMS? [CONFORMANCE]]) FILENAME BODY ...)syntax

Creates a PDF/A document (as build-pdfa-document), binds PDFA-DOC to it and DOC to its wrapped pdf document, runs BODY, then writes the finished document to FILENAME with write-pdfa-document. Use PDFA-DOC for metadata and the output intent, and DOC for fonts and pages.