1 | .TH PKPGCOUNTER "1" "July 2004" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" |
---|
2 | .SH NAME |
---|
3 | pkpgcounter \- PyKota script to count pages in PostScript, PDF, PCL5, PCL6 and ESC/P2 documents |
---|
4 | .SH SYNOPSIS |
---|
5 | .B pkpgcounter |
---|
6 | .RI file1 |
---|
7 | .RI file2 |
---|
8 | .RI ... |
---|
9 | .SH DESCRIPTION |
---|
10 | This manual page documents briefly the |
---|
11 | .B pkpgcounter |
---|
12 | command. |
---|
13 | .PP |
---|
14 | \fBpkpgcounter\fP is a convenience script provided by pykota that attempts |
---|
15 | to count the number of pages in a DSC compliant PostScript, PDF, PCL5, |
---|
16 | PCL6 (aka PCLXL) or ESC/P2 document. Binary PostScript is also supported but through |
---|
17 | GhostScript, which is launched if needed. This may be of use as an external accounter as defined in |
---|
18 | /etc/pykota/pykota.conf, since currently \fBpkpgcounter\fP is the smarter |
---|
19 | software accounter included with PyKota. |
---|
20 | |
---|
21 | \fBpkpgcounter\fP with no argument reads the job's data from stdin, and prints |
---|
22 | the number of pages on stdout. |
---|
23 | |
---|
24 | \fBpkpgcounter\fP accepts any number of filenames as its arguments, and also the |
---|
25 | special argument '-' in place of stdin. With multiple arguments it prints |
---|
26 | the total number of pages of all the documents. |
---|
27 | |
---|
28 | For further information, see the HTML documentation that came with the pykota |
---|
29 | package, found in /usr/share/doc/pykota/html/. |
---|
30 | |
---|
31 | .PP |
---|
32 | This program is free software; you can redistribute it and/or modify |
---|
33 | it under the terms of the GNU General Public License as published by |
---|
34 | the Free Software Foundation; either version 2 of the License, or |
---|
35 | (at your option) any later version. |
---|
36 | .PP |
---|
37 | This program is distributed in the hope that it will be useful, |
---|
38 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
39 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
40 | GNU General Public License for more details. |
---|
41 | .PP |
---|
42 | You should have received a copy of the GNU General Public License |
---|
43 | along with this program; if not, write to the Free Software |
---|
44 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. |
---|
45 | .PP |
---|
46 | Please e-mail bugs to: Jerome Alet - alet@librelogiciel.com |
---|
47 | |
---|
48 | .SH AUTHOR |
---|
49 | This manual page was written by Jerome Alet. |
---|