PDFlib Cookbook

cookbook

Document Interchange

associated_files Demonstrate associated files at various locations of the document (requires PDF 2.0 output).
control_nexpress_trays For NexPress digital color printing machines, create special annotations to control the input tray.
embed_xmp Embed custom XMP metadata in a document.
import_xmp_from_pdf Retrieve the XMP metadata from an imported document and write all document-level XMP metadata to the output PDF.