how install pkpgcounter ubuntu



computes number of pages or quantity of ink needed to print documents
Install sudo apt install pkpgcounter

Pkpgcounter is a generic Page Description Language parser which can either count the number of pages or compute the percent of ink coverage needed to print various types of documents. It is written in Python.

It currently recognizes the following file formats :

* PostScript (both DSC compliant and binary)
* PCL3/4/5
* PCLXL (aka PCL6)
* OpenDocument (ISO/IEC DIS 26300)
* Microsoft Word (c) ™ (r) (etc…)
* Plain text
* Several other image formats
* ESC/P2
* Zenographics ZjStream
* Samsung QPDL (aka SPL2)
* Samsung SPL1
* ESC/PageS03
* Brother HBP
* Hewlett-Packard Lightweight Imaging Device Interface Language
* Structured Fax
* Canon BJ/BJC
* ASCII PNM (Netpbm)
The ten latter ones, as well as some TIFF documents, are currently only supported in page counting mode.

pkpgcounter is often used in combination with print accounting solutions like PyKota or JasMine.