17.05.2014 Views

PDFlib 8 Windows COM/.NET Tutorial

PDFlib 8 Windows COM/.NET Tutorial

PDFlib 8 Windows COM/.NET Tutorial

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table 10.5 Compatible PDF/X input levels for various PDF/X output levels<br />

PDF/X level of the imported document<br />

PDF/X output level<br />

PDF/X-1a:2001<br />

PDF/X-1a:2003<br />

PDF/X-3:2002<br />

PDF/X-3:2003<br />

PDF/X-4<br />

PDF/X-4p<br />

PDF/X-5g<br />

PDF/X-5pg<br />

PDF/X-1a:2001<br />

allowed<br />

PDF/X-1a:2003 allowed allowed<br />

PDF/X-3:2002 allowed allowed<br />

PDF/X-3:2003 allowed allowed allowed allowed<br />

PDF/X-4 allowed allowed allowed allowed allowed allowed<br />

PDF/X-4p allowed allowed allowed allowed allowed allowed 1<br />

PDF/X-5g allowed allowed allowed allowed allowed allowed allowed 2 allowed 2<br />

PDF/X-5pg allowed allowed allowed allowed allowed allowed 1 allowed 2 allowed 1,2<br />

1. process_pdi( ) with action=copyoutputintent will copy the reference to the external output intent ICC profile.<br />

2. If the imported page contains referenced XObjects, open_pdi_page( ) will copy both proxy and reference to the target.<br />

This statement will retrieve a string designating the PDF/X conformance level of the imported<br />

document if it conforms to an ISO PDF/X level, or none otherwise. The returned<br />

string can be used to set the PDF/X conformance level of the output document appropriately,<br />

using the pdfx option in begin_document( ).<br />

Copying the PDF/X output intent from an imported document. In addition to querying<br />

the PDF/X conformance level you can also copy the output intent from an imported<br />

document:<br />

ret = p.process_pdi(doc, -1, "action=copyoutputintent");<br />

This can be used as an alternative to setting the output intent via load_iccprofile( ), and<br />

will copy the imported document’s output intent to the generated output document,<br />

regardless of whether it is defined by a standard name or an ICC profile. Copying the<br />

output intent works for imported PDF/A and PDF/X documents.<br />

The output intent of the generated output document must be set exactly once, either<br />

by copying an imported document’s output intent, or by setting it explicitly using<br />

load_iccprofile( ) with usage=outputintent.<br />

10.3 PDF/X for Print Production 259

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!