Projects / pkpgcounter

pkpgcounter

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.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  10 Dec 2007 00:57

    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.

    •  29 Nov 2007 02:09

      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.

      •  23 Nov 2007 15:33

        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.

        •  01 Oct 2007 21:51

          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.

          •  21 Sep 2007 06:26

            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.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.