pkpgcounter is a 100% Python written standalone script distributed under the terms of the GNU General Public License of the Free Software Foundation .
pkpgcounter was part of our PyKota software since 2003, but it is now only available separately.
pkpgcounter is a generic Page Description Language parser which main feature is to count the number of pages in printable files.
pkpgcounter can currently compute the number of pages in several types of files :
· PostScript (both DSC compliant and binary)
· PCLXL (aka PCL6)
· OpenOffice.org Writer
· OpenOffice.org Impress
When launched, pkpgcounter prints on its standard output a single integer representing the total number of pages in all the files which filenames you've passed on the command line.
With no argument, or with a single dash in non-option arguments, pkpgcounter reads datas to parse from its standard input in addition to other non-options arguments which are treated as filenames representing the files to parse.
In the future other possibilities will be added (use the --debug command line switch to have a preview)
What's New in This Release:
· 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.