1PKPGCOUNTER(1)                   User Commands                  PKPGCOUNTER(1)
2
3
4

NAME

6       pkpgcounter  - count number of pages required to print various types of
7       documents
8

DESCRIPTION

10       pkpgcounter v3.50 (c) 2003, 2004, 2005, 2006, 2007 Jerome Alet
11
12       pkpgcounter is a generic Page Description Language parser.
13
14       pkpgcounter parses any number of input files and/or its standard  input
15       and outputs the number of pages needed to print these documents.
16
17       pkpgcounter  can  also compute the percent of ink coverage in different
18       colorspaces for several file formats.
19
20       pkpgcounter currently recognizes the following document formats :
21
22              * PostScript (both DSC compliant and binary) * PDF * PCLXL  (aka
23              PCL6)  * PCL3/4/5 * DVI * OpenDocument (ISO/IEC DIS 26300) * Mi‐
24              crosoft Word (c) (tm) (r) (etc...)  * Plain text * TIFF  *  Sev‐
25              eral other image formats * ESC/P2 * Zenographics ZjStream * Sam‐
26              sung QPDL (aka SPL2) * Samsung SPL1 * ESC/PageS03 * Brother  HBP
27              *  Hewlett-Packard LIDIL (hpijs) * Structured Fax * Canon BJ/BJC
28              * ASCII PNM (Netpbm)
29
30       The ten latter ones, as well as some TIFF documents, are currently only
31       supported in page counting mode.
32
33       command line usage :
34
35              pkpgcounter [options] [files]
36
37       options :
38
39       -v | --version
40              Prints pkpgcounter's version number then exits.
41
42       -h | --help
43              Prints this message then exits.
44
45       -d | --debug
46              Activate debug mode.
47
48       -cCOLORSPACE, --colorspace=COLORSPACE
49              Activate  the  computation  of  ink  usage, and defines the col‐
50              orspace to  use.  Supported  values  are  'BW'  (Black),  'RGB',
51              'CMYK', 'CMY', and 'GC' (Grayscale vs Color).  'GC' is useful if
52              you only need to differentiate  grayscale  pages  from  coloured
53              pages but don't care about ink usage per se.
54
55       -rRESOLUTION, --resolution=RESOLUTION
56              The  resolution  in  DPI  to use when checking ink usage.  Lower
57              resolution is faster but less accurate. Default is 72 dpi.
58
59       examples :
60
61              $ pkpgcounter file1.ps file2.escp2 file3.pclxl <file4.pcl345
62
63              Will launch pkpgcounter and will  output  the  total  number  of
64              pages needed to print all the documents specified.
65
66              $ pkpgcounter --colorspace bw --resolution 150 file1.ps
67
68              Will  output the percent of black ink needed on each page of the
69              file1.ps file rendered at 150 dpi.
70
71       This program is free software: you can redistribute it and/or modify it
72       under  the  terms of the GNU General Public License as published by the
73       Free Software Foundation, either version 3 of the License, or (at  your
74       option) any later version.
75
76       This  program  is  distributed  in the hope that it will be useful, but
77       WITHOUT ANY  WARRANTY;  without  even  the  implied  warranty  of  MER‐
78       CHANTABILITY  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
79       Public License for more details.
80
81       You should have received a copy of the GNU General Public License along
82       with this program.  If not, see <http://www.gnu.org/licenses/>.
83
84       Please e-mail bugs to: alet@librelogiciel.com
85
86
87
88C@LL - Conseil Internet & LogicielDsecLeimbbreers2007                  PKPGCOUNTER(1)
Impressum