10.07.2015 Views

Download - Multivac!

Download - Multivac!

Download - Multivac!

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.

Additional rules apply when importing pages from existing PDF/X-conforming documents(see Section 9.4.3, »Importing PDF/X Documents with PDI«, page 205).Cookbook A full code sample can be found in the Cookbook topic pdf_flavors/starter_pdfx.Required operations. Table 9.5 lists all operations required to generate PDF/X-conformingoutput. The items apply to all PDF/X conformance levels unless otherwise noted.Not calling one of the required functions while in PDF/X mode will trigger an exception.Table 9.5 Operations which must be applied for PDF/X compatibilityitemconformance leveloutput condition(output intent)font embeddingpage sizesgrayscale colorRGB colorCMYK colorPDFlib function and option requirements for PDF/X compatibilityThe pdfx option in PDF_begin_document( ) must be set to the desired PDF/X conformance level.PDF_load_iccprofile( ) with usage=outputintent or PDF_process_pdi( ) with action=copyoutputintent(but not both methods) must be called immediately after PDF_begin_document( ).If HKS or Pantone spot colors, ICC-based colors, or Lab colors are used, an output device ICC profilemust be embedded; using a standard output condition is not allowed in this case.PDF/X-1a: the output device must be a monochrome or CMYK device;PDF/X-3: the output device must be a monochrome, RGB, or CMYK device.Set the embedding option of PDF_load_font( ) (and other functions which accept this option) totrue to enable font embedding. Note that embedding is also required for the PDF core fonts.The page boxes, which are settable via the cropbox, bleedbox, trimbox, and artbox options,must satisfy all of the following requirements:> The TrimBox or ArtBox must be set, but not both of these box entries. If both TrimBox and Art-Box are missing PDFlib will take the CropBox (if present) as the TrimBox, and the MediaBox ifthe CropBox is also missing.> The BleedBox, if present, must fully contain the ArtBox and TrimBox.> The CropBox, if present, must fully contain the ArtBox and TrimBox.PDF/X-3: the defaultgray option in PDF_begin_page_ext( ) must be set if grayscale images areused or PDF_setcolor( ) is used with a gray color space, and the PDF/X output condition is not aCMYK or grayscale device.PDF/X-3: the defaultrgb option in PDF_begin_page_ext( ) must be set if RGB images are used orPDF_setcolor( ) is used with an RGB color space, and the PDF/X output condition is not an RGB device.PDF/X-3: the defaultcmyk option in PDF_begin_page_ext( ) must be set if CMYK images are usedor PDF_setcolor( ) is used with a CMYK color space, and the PDF/X output condition is not a CMYKdevice.document info keys The Creator and Title info keys must be set with PDF_set_info( ).Prohibited operations. Table 9.6 lists all operations which are prohibited when generatingPDF/X-conforming output. The items apply to all PDF/X conformance levels unlessotherwise noted. Calling one of the prohibited functions while in PDF/X mode willtrigger an exception. Similarly, if an imported PDF page doesn’t match the current PDF/X conformance level, the corresponding PDI call will failStandard output conditions. The output condition defines the intended target device,which is mainly useful for reliable proofing. The output intent can either be specifiedby an ICC profile or by supplying the name of a standard output intent. The standardoutput intents are known internally to PDFlib (see PDFlib Reference for a complete list9.4 PDF/X for Print Production 203

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

Saved successfully!

Ooh no, something went wrong!