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 which will result in a new Cookbook package at regular intervals. 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 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. Form 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 have been installed. You can download the appropriate pCOS 2.0 evaluation package here.
Download the PDFlib pCOS Cookbook archive released on July 7, 2008. Unpack the archive and open the "doc/readme.txt" file for further information on installing and working with the pCOS Cookbook.
For the most recent changes, see the change log.
Download the PDFlib pCOS Cookbook package:
pCOS-cookbook-2008-07.tar.gz (1 MB)
pCOS-cookbook-2008-07.zip (1.1 MB)