pkpgcounter parses files and outputs the number of pages needed to print them. It can also, for certain file formats, compute the percentage of ink colors covering each page. It currently recognizes almost 20 Page Description Languages or file formats, including the most used ones like Postscript, PDF, the PCL family, DVI, OpenDocument, or even Microsoft Word, corresponding to hundreds of different printer drivers. This utility and Python library is often used as the PDL parsing engine in print accounting software like PyKota or JASMine, but can of course be used independently.
|Operating Systems||OS Independent|
Release Notes: Page counting mode support was added for Canon BJ/BJC, Structured Fax, and ASCII PNM file formats. The SPL1 (aka GDI) parser was improved, and should now correctly account for all such files. The PCL3/4/5 parser was improved. Finally, the list of all GhostScript output devices and their level of support is now available online.
Release Notes: A major bug was fixed in the detection of OpenDocument documents. Support for the Microsoft Word file format has been added in both page counting and ink coverage modes. Support for the OpenDocument file format has been extended to ink coverage mode. These major changes require third party executable tools whose presence is now automatically detected and reported at runtime if needed.
Release Notes: This release adds support for all image formats supported by the Python Imaging Library, adds support for Hewlett-Packard's Lightweight Imaging Device Interface Language as produced by hpijs or native printer drivers, and increases the general reliability and code readability.
Release Notes: A parser for Brother's HBP Page Description Language is now included. The PCLXL parser was improved to correctly parse Canon ImageRunner commands, in order to match what the PCL3/4/5 parser already does.
Release Notes: This release now includes a parser for Epson's ESC/PageS03 Page Description Language. A second bug was fixed in the code which handles the output of Canon's ImageRunner printer drivers.