| 29 | |
| 30 | __doc__ = """pkpgcounter v%(__version__)s (c) %(__years__)s %(__author__)s |
| 31 | |
| 32 | pkpgcounter is a generic Page Description Language parser. |
| 33 | |
| 34 | pkpgcounter parses any number of input files and/or its standard input |
| 35 | and outputs the number of pages needed to print these documents. |
| 36 | |
| 37 | pkpgcounter currently recognizes the following document formats : |
| 38 | |
| 39 | * PostScript (both DSC compliant and binary) |
| 40 | * PDF |
| 41 | * PCLXL (aka PCL6) |
| 42 | * PCL3/4/5 (mostly) |
| 43 | * DVI |
| 44 | * TIFF |
| 45 | * ESC/P2 |
| 46 | |
| 47 | command line usage : |
| 48 | |
| 49 | pkpgcounter [options] [files] |
| 50 | |
| 51 | options : |
| 52 | |
| 53 | -v | --version Prints pkpgcounter's version number then exits. |
| 54 | -h | --help Prints this message then exits. |
| 55 | |
| 56 | -d | --debug Activate debug mode. |
| 57 | |
| 58 | examples : |
| 59 | |
| 60 | $ pkpgcounter file1.ps file2.escp2 file3.pclxl <file4.pcl345 |
| 61 | |
| 62 | Will launch pkpgcounter and will output the total number of pages |
| 63 | needed to print all the documents specified. |
| 64 | |
| 65 | %(__gplblurb__)s |
| 66 | |
| 67 | Please e-mail bugs to: %(__authoremail__)s""" |