
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.
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 | supported PDF | corresponding | PDFlib GmbH product |
1 | PDF 1.6 | Acrobat 7 | TET 2.0, 2.1 |
2 | PDF 1.6 | Acrobat 7 | pCOS 1.0 |
3 | PDF 1.71 | Acrobat 8 | PDFlib+PDI 7, PPS 7, |
4 | PDF 1.7 extension level 3 | Acrobat 9, excluding | PLOP 4.0, PLOP DS 4.0, TET 3.0, |
5 | PDF 1.7 extension level 3 | Acrobat 9 | |
6 | PDF 1.7 extension level 3 | Acrobat 9 | |
7 | PDF 1.7 extension level 82 | Acrobat X | |
1 Identical to ISO 32000-1 | |||
Download the pCOS Reference for pCOS interface 7
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.
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.
Download the PDFlib pCOS Cookbook package:
pCOS-cookbook-2010-11.tar.gz (2 MB)
pCOS-cookbook-2010-11.zip (2 MB)