PDFlib

The pCOS Cookbook

The PDFlib pCOS Cookbook is a collection of pCOS coding fragments for solving specific problems. It is maintained as a growing list of sample programs. The Cookbook topics are written in the Java language, but can easily be ported to other programming languages since the pCOS API is almost identical for all supported language bindings. Each Cookbook topic denotes the pCOS interface version required for the topic's execution.

The pCOS Cookbook topics can also easily be used with other PDFlib GmbH products since several PDFlib products include the pCOS API interface.

Availability of the pCOS Interface

The pCOS interface is available as a separate product called PDFlib pCOS. It is also offered as an integrated feature in several other PDFlib GmbH products. As the interface is extended and support for newer PDF input versions is added, the pCOS interface number is increased. The table details the pCOS interface numbers which are implemented in various product versions.

pCOS interface versions implemented in PDFlib GmbH products
pCOS
interface
supported PDF
input version
corresponding
Acrobat version
PDFlib GmbH product
name and version
1PDF 1.6Acrobat 7TET 2.0, 2.1
2PDF 1.6Acrobat 7pCOS 1.0
3PDF 1.7
Identical to ISO 32000-1
Acrobat 8PDFlib+PDI 7, PPS 7,
TET 2.2, pCOS 2.0, PLOP 3.0, TET 2.3
4PDF 1.7 extension level 3 Acrobat 9, excluding
AES-256 encryption
PLOP 4.0, TET 3.0, TET PDF IFilter 3.0
5PDF 1.7 extension level 3 Acrobat 9PDFlib+PDI 8, PPS 8
6PDF 1.7 extension level 3 Acrobat 9TET 4.0, TET PDF IFilter 4.0
7PDF 1.7 extension level 8
Syntax and encryption method identical to ISO 32000-2, also called PDF 2.0
Acrobat XpCOS 3.0, PLOP 4.1 ,
PDFlib+PDI 8.1, PPS 8.1
8PDF 1.7 extension level 8
Syntax and encryption method identical to ISO 32000-2, also called PDF 2.0
Acrobat X/XITET 4.1, TET PDF IFilter 4.1, PDFlib+PDI 9.0, PPS 9.0,
TET 4.2, TET PDF IFilter 4.2, pCOS 4.0
9PDF 1.7 extension level 8
Syntax and encryption method identical to ISO 32000-2, also called PDF 2.0
Acrobat X/XIPLOP 5.0, PLOP DS 5.0
10PDF 1.7 extension level 8Acrobat X/XI/DCTET 5.0, TET PDF IFilter 5.0
11      

PDF 1.7 extension level 8Acrobat X/XI/DC including certificate security PLOP 5.1, PLOP DS 5.1

Download the pCOS Path Reference for pCOS interface 11.

 

Browse all pCOS Cookbook Topics

Each topic can be viewed individually in the browser together with its source code, description and the output generated by pCOS. For a complete list of all topics currently being available, see Browse all Topics.

Download full pCOS Cookbook Package

The pCOS Cookbook package contains the Java files and all required input data, as well as an Ant build file and an Eclipse project. The Cookbook topics can conveniently be compiled and run with the Java build tool Apache Ant. For more information see ant.apache.org. Alternatively, you can manually compile and run the samples. For installing and working with the pCOS Cookbook, see the "readme" file in the "doc" folder of the Cookbook Package.

As a prerequisite for compiling and executing the PDFlib pCOS Cookbook topics the pCOS binary library for Java must be installed. You can download the appropriate pCOS evaluation package here.

For the most recent changes, see the change log.

For use with PDFlib 9.0.6 and PLOP 5.1, download one of the following PDFlib pCOS Cookbook packages:

pCOS-cookbook-2016-06.tar.gz (2,7MB)

pCOS-cookbook-2016-06.zip (2,7 MB)

For use with pCOS 4, download one of the following PDFlib pCOS Cookbook packages:

pCOS-cookbook-2014-07.tar.gz (2,8 MB)

pCOS-cookbook-2014-07.zip (2,8 MB)