pCOS Cookbook

cookbook

interactive

annotations Retrieve the contents of all annotations.
articles Create a list of all articles contained in a PDF document.
attachments Determine the total number of file attachments.
bookmarks Retrieve all bookmarks.
check_weblink Check HTTP response codes for the Web links in a PDF document.
formfields updated List form fields and emit their properties and values.
geospatial Retrieve geospatial reference information from a GeoPDF document.
javascript Count javascript occurrences in the document.
link_destinations Enumerate all links in the document and determine the destination.
named_destinations Print the names of all destinations which are defined in the document.
package_properties Dump package properties.
renditions new Retrieve all renditions which are accessible from JavaScript.
signatures Retrieve digital signature information including PAdES status.
weblinks Retrieve the bounding box and the URL of all Web links on the page.

interchange

document_metadata Retrieve the document's XMP meta data.
dpart_to_xml Transform a PDF/VT DPart tree to XML.
dumper pCOS sample application for dumping PDF information.
image_metadata Retrieve the XMP metadata for all images in the document.
pieceinfo pCOS sample application for searching PieceInfo for document, pages, and Form XObjects (templates).
retrieve_associated_files Retrieve associated files from a document.
unpack_portfolio Extract files from PDF portfolio to disc.
zugferd_retrieve_XML Retrieve XML invoice data and explanatory documents from ZUGFeRD 1.0, 2.0, 2.1 or Factur-X invoices

Pages

blocks Create a list of all blocks contained on the pages of a PDF document and show their name, type and dimensions.
initialview Determine the page at which Acrobat opens the document.
page_colorspaces List all color spaces.
page_fonts Create a list of all fonts contained in a PDF document and check if they are embedded.
page_images Print information about all images in the document.
page_labels Print all page labels.
page_separationinfo Print information about the color separations in the document.
page_size Retrieve the MediaBox and Rotation key for all pages.
page_transparency Identify transparent pages.
pagemode Determine which navigation tab (panel) is visible upon opening the document.

resources

advanced_font_properties Create a list of all fonts contained in a PDF document and print advanced properties of the fonts.
colorspaces List color spaces.
fonts Create a list of all fonts contained in a PDF document and check if they are embedded.
images Print information about all images in the document.

special

defaultlayers Emit the indented list of layer names which is presented in Acrobat by default.
layers Create a list of all layers contained in a PDF document and show their names.
output_intents updated Analyze PDF/A, PDF/X and PDF 2.0 output intents on document or page level and print information about the corresponding ICC profiles.