[185] | 1 | # $Id$ |
---|
| 2 | |
---|
| 3 | pkpgcounter : a generic Page Description Language parser |
---|
| 4 | |
---|
[443] | 5 | (c) 2003, 2004, 2005, 2006, 2007 Jerome Alet <alet@librelogiciel.com> |
---|
[463] | 6 | This program is free software: you can redistribute it and/or modify |
---|
[185] | 7 | it under the terms of the GNU General Public License as published by |
---|
[463] | 8 | the Free Software Foundation, either version 3 of the License, or |
---|
[185] | 9 | (at your option) any later version. |
---|
| 10 | |
---|
| 11 | This program is distributed in the hope that it will be useful, |
---|
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 14 | GNU General Public License for more details. |
---|
| 15 | |
---|
| 16 | You should have received a copy of the GNU General Public License |
---|
[463] | 17 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
---|
[185] | 18 | |
---|
| 19 | ============================================================================= |
---|
| 20 | |
---|
| 21 | pkpgcounter News : |
---|
[273] | 22 | |
---|
[529] | 23 | * 3.40 : |
---|
| 24 | |
---|
| 25 | - Fixed a major bug in the detection of OpenDocument (ISO/IEC DIS 26300) |
---|
| 26 | files. |
---|
| 27 | |
---|
| 28 | - Added support for page counting in Microsoft Word (c) (tm) (r) (etc...) |
---|
| 29 | documents. |
---|
| 30 | |
---|
| 31 | - Added support for ink accounting in Microsoft Word (c) (tm) (r) (etc...) |
---|
| 32 | and OpenDocument (ISO/IEC DIS 26300) documents. |
---|
| 33 | |
---|
| 34 | - Now automatically detects missing executable dependencies at runtime. |
---|
| 35 | |
---|
[485] | 36 | * 3.30 : |
---|
| 37 | |
---|
[514] | 38 | - Added support for all file formats supported by the Python Imaging |
---|
| 39 | Library. |
---|
[502] | 40 | |
---|
[485] | 41 | - Added a minimal parser for Hewlett-Packard LIDIL documents, as |
---|
| 42 | produced by the hpijs driver. |
---|
| 43 | |
---|
[514] | 44 | - Improved general reliability. |
---|
| 45 | |
---|
| 46 | - Improved detection of PCL3/4/5 jobs. |
---|
| 47 | |
---|
[491] | 48 | - Major code cleaning. |
---|
| 49 | |
---|
[480] | 50 | * 3.20 : |
---|
| 51 | |
---|
| 52 | - Added a minimal parser for Brother HBP documents. |
---|
| 53 | |
---|
| 54 | - Added support for Canon ImageRunner commands to the PCLXL parser, |
---|
| 55 | much like it was already done for the PCL3/4/5 parser. |
---|
| 56 | |
---|
[473] | 57 | * 3.10 : |
---|
| 58 | |
---|
| 59 | - Added a minimal parser for ESC/PAGES03 style documents. |
---|
| 60 | |
---|
| 61 | - Fixed another problem in the code handling the output of Canon's |
---|
| 62 | ImageRunner printer drivers. |
---|
| 63 | |
---|
[464] | 64 | * 3.00 : |
---|
| 65 | |
---|
| 66 | - Fixed a problem in the code handling the output of Canon's ImageRunner |
---|
| 67 | printer drivers. |
---|
| 68 | |
---|
| 69 | - Licensing terms changed to GNU GPL v3.0 or higher. |
---|
| 70 | |
---|
| 71 | * 2.18 : |
---|
| 72 | |
---|
| 73 | - Fixed an incompatibility with Python v2.5 |
---|
| 74 | |
---|
[456] | 75 | * 2.17 : |
---|
| 76 | |
---|
| 77 | - Fixed problems in the handling of PJL number of copies (COPIES= and QTY=) |
---|
| 78 | which caused the number of copies for each page to be squared. |
---|
| 79 | |
---|
[452] | 80 | * 2.16 : |
---|
| 81 | |
---|
| 82 | - Fixed a problem in the PCL3/4/5 parser to accomodate line based |
---|
| 83 | report generators which expect the printer to skip to next page |
---|
| 84 | based on lines per page instead of sending a specific command. |
---|
| 85 | |
---|
[450] | 86 | * 2.15 : |
---|
| 87 | |
---|
| 88 | - Fixed a regexp in the PDF parser which caused some files to be |
---|
| 89 | incorrectly accounted for. |
---|
| 90 | |
---|
| 91 | - Improved the detection of the number of copies in PostScript documents. |
---|
| 92 | |
---|
[444] | 93 | * 2.14 : |
---|
| 94 | |
---|
| 95 | - Fixed a problem with some PS drivers which don't output %%Page: |
---|
| 96 | comments. |
---|
| 97 | |
---|
[439] | 98 | * 2.13 : |
---|
| 99 | |
---|
| 100 | - Nowrecognizes the GC colorspace if you only want to differentiate |
---|
| 101 | grayscale pages from coloured pages. In this colorspace, the |
---|
| 102 | percents are always "G : 100.0 C : 0.0" or "G : 0.0 C : 100.0" |
---|
| 103 | respectively for a grayscale page and a coloured page. |
---|
| 104 | |
---|
[437] | 105 | * 2.12 : |
---|
| 106 | |
---|
| 107 | - Fixed a problem with the PostScript parser. |
---|
| 108 | |
---|
[435] | 109 | * 2.11 : |
---|
| 110 | |
---|
| 111 | - Improved overall robustness in ink accounting mode. |
---|
| 112 | |
---|
[418] | 113 | * 2.10 : |
---|
| 114 | |
---|
| 115 | - Added a plain text parser, with support for both page counting and |
---|
| 116 | ink coverage. |
---|
| 117 | |
---|
| 118 | - Added a minimal SPL1 parser. |
---|
| 119 | |
---|
| 120 | - Fixed a problem in the PCLXL parser related to Kyocera printer drivers. |
---|
| 121 | |
---|
[406] | 122 | * 2.00 : |
---|
| 123 | |
---|
| 124 | - The PCL3/4/5 parser was rewritten from scratch and is now |
---|
| 125 | table driven. |
---|
| 126 | |
---|
| 127 | - Improved the PostScript parser. |
---|
| 128 | |
---|
[387] | 129 | * 1.85 : |
---|
| 130 | |
---|
| 131 | - Added support for Samsung QPDL (aka SPL2) file format in page |
---|
| 132 | counting mode, thanks to the work done by Aur�en Croc on |
---|
| 133 | reverse engineering the file format. |
---|
| 134 | |
---|
[383] | 135 | * 1.85alpha : |
---|
| 136 | |
---|
| 137 | - Added test document and program to generate the test document |
---|
| 138 | to check the functionning of the ink coverage computation algorithm. |
---|
| 139 | |
---|
[378] | 140 | * 1.84 : |
---|
| 141 | |
---|
| 142 | - Computation of ink coverage now works and is documented. |
---|
| 143 | The supported file formats are : PS, PDF, PCLXL, PCL3/4/5, |
---|
| 144 | DVI and TIFF. |
---|
| 145 | |
---|
[363] | 146 | * 1.84alpha : |
---|
| 147 | |
---|
| 148 | - Added initial support for the computation of ink coverage. |
---|
[366] | 149 | See python analyzer.py --help for details. The same command |
---|
[363] | 150 | line options work for pkpgcounter, although it's not |
---|
| 151 | documented yet. |
---|
| 152 | |
---|
[343] | 153 | * 1.83 : |
---|
| 154 | |
---|
| 155 | - Fixed a famously known 'brown paper bag' issue with file type autodetection. |
---|
| 156 | |
---|
[339] | 157 | * 1.82 : |
---|
| 158 | |
---|
| 159 | - Fixed PCL3/4/5 parser to detect recent Xerox drivers' output. |
---|
| 160 | |
---|
[334] | 161 | * 1.81 : |
---|
| 162 | |
---|
| 163 | - Improved the gs+Acrobat Reader fix done in 1.78. |
---|
| 164 | |
---|
[329] | 165 | * 1.80 : |
---|
| 166 | |
---|
| 167 | - Added support for Zenographics ZjStream input format. |
---|
| 168 | |
---|
[325] | 169 | * 1.79 : |
---|
| 170 | |
---|
| 171 | - Fixed a small problem in PostScript parser with dvips output. |
---|
| 172 | |
---|
[321] | 173 | * 1.78 : |
---|
| 174 | |
---|
| 175 | - Launches gs less often when printing is done from Acrobat |
---|
| 176 | Reader. |
---|
| 177 | |
---|
[318] | 178 | * 1.77 : |
---|
| 179 | |
---|
| 180 | - Fixed some problems with the code introduced in 1.76. |
---|
| 181 | |
---|
| 182 | - Improved PCLXL parser's speed by almost 10%. |
---|
| 183 | |
---|
[314] | 184 | * 1.76 : |
---|
| 185 | |
---|
| 186 | - Improved the PCLXL parser wrt undocumented tags. |
---|
| 187 | |
---|
| 188 | - Preliminary support for Kyocera Prescribe commands. |
---|
| 189 | |
---|
[305] | 190 | * 1.75 : |
---|
| 191 | |
---|
| 192 | - Added preliminary support for Canon ImageRunner's "LIPS" or "UFR" |
---|
| 193 | (I don't know which) Page Description Language. |
---|
| 194 | |
---|
[303] | 195 | * 1.74 : |
---|
| 196 | |
---|
| 197 | - Fixed a problem in the retrieval of named media sizes in PCLXL. |
---|
| 198 | |
---|
| 199 | - Changed copyright years. |
---|
| 200 | |
---|
[295] | 201 | * 1.73 : |
---|
| 202 | |
---|
| 203 | - Fixed duplex detection code in PCL3/4/5 parser. |
---|
| 204 | |
---|
| 205 | - Fixed PCLXL detection code. |
---|
| 206 | |
---|
| 207 | - Fixed retrieval of custom media types' names in PCLXL. |
---|
| 208 | |
---|
| 209 | - Added inactive code to compute ink coverage ala PrintBill. |
---|
| 210 | |
---|
[273] | 211 | * 1.72 : |
---|
| 212 | |
---|
| 213 | - Improved heuristic to detect when ghostscript has to be used to do |
---|
| 214 | the parsing. |
---|
[185] | 215 | |
---|
[272] | 216 | * 1.71 : |
---|
| 217 | |
---|
| 218 | - Now uses ghostscript as the parser when the PS stream was created by a |
---|
| 219 | particular MSWindows driver. |
---|
| 220 | |
---|
| 221 | - Only complains about Psyco missing at install time, and stays |
---|
| 222 | quiet when running without Psyco. |
---|
| 223 | |
---|
[269] | 224 | * 1.70 : |
---|
| 225 | |
---|
| 226 | - Fixed some PJL escaping issue in the PCLXL and PCL3/4/5 parsers. |
---|
| 227 | |
---|
[267] | 228 | * 1.69 : |
---|
| 229 | |
---|
| 230 | - Improved PCL3/4/5 parser. |
---|
| 231 | |
---|
| 232 | - Improved PCLXL parser wrt PJL stuff. |
---|
| 233 | |
---|
[263] | 234 | * 1.68 : |
---|
| 235 | |
---|
| 236 | - Improved PostScript parser. |
---|
| 237 | |
---|
[262] | 238 | * 1.67 : |
---|
| 239 | |
---|
| 240 | - Improved PostScript parser. |
---|
| 241 | |
---|
| 242 | - Improved PCL3/4/5 parser. |
---|
| 243 | |
---|
[258] | 244 | * 1.66 : |
---|
| 245 | |
---|
| 246 | - Improved PCLXL parser. |
---|
| 247 | |
---|
| 248 | - Improved PCL3/4/5 parser. |
---|
| 249 | |
---|
[256] | 250 | * 1.65 : |
---|
| 251 | |
---|
| 252 | - Improved PostScript parser. |
---|
| 253 | |
---|
| 254 | - Improved PCL3/4/5 parser. |
---|
| 255 | |
---|
[255] | 256 | * 1.64 : |
---|
| 257 | |
---|
| 258 | - Improved PCL3/4/5 parser. |
---|
| 259 | |
---|
[253] | 260 | * 1.63 : |
---|
| 261 | |
---|
| 262 | - Now handles PJL statements to extract number of copies, duplex mode |
---|
| 263 | and paper size in the PCLXL and PCL3/4/5 parsers. |
---|
| 264 | |
---|
[252] | 265 | * 1.62 : |
---|
| 266 | |
---|
| 267 | - Better handling of the number of copies in the PCLXL parser. |
---|
| 268 | |
---|
| 269 | - Better handling of the number of copies in the PCL3/4/5 parser. |
---|
| 270 | |
---|
[248] | 271 | * 1.61 : |
---|
| 272 | |
---|
[249] | 273 | - Improved PCL3/4/5 parser. |
---|
| 274 | |
---|
[248] | 275 | - Better handling of the number of copies in the PostScript parser. |
---|
| 276 | Now the number can be different from page to page. |
---|
| 277 | |
---|
[245] | 278 | * 1.60 : |
---|
| 279 | |
---|
| 280 | - Improved PCLXL parser. |
---|
| 281 | |
---|
[243] | 282 | * 1.59 : |
---|
| 283 | |
---|
| 284 | - Major rewrite of the PDF parser to correctly handle all line endings. |
---|
| 285 | |
---|
[240] | 286 | * 1.58 : |
---|
| 287 | |
---|
| 288 | - Fix for PDF files which contain several versions of the same PDF object. |
---|
| 289 | |
---|
| 290 | - Doesn't break when python-psyco is not available. |
---|
| 291 | |
---|
[237] | 292 | * 1.57 : |
---|
| 293 | |
---|
| 294 | - Fixed a recently introduced bug in binary postscript handling code. |
---|
| 295 | |
---|
[235] | 296 | * 1.56 : |
---|
| 297 | |
---|
| 298 | - Renamed the library from pdlanalyzer into pkpgpdls to avoid problems |
---|
| 299 | when the code will be integrated back into PyKota. |
---|
| 300 | |
---|
[229] | 301 | * 1.55 : |
---|
| 302 | |
---|
| 303 | - Added support for OpenOffice.org Writer and Impress documents. |
---|
| 304 | |
---|
[224] | 305 | * 1.54 : |
---|
| 306 | |
---|
| 307 | - Added online documentation and a manual page. |
---|
| 308 | |
---|
[220] | 309 | * 1.53 : |
---|
| 310 | |
---|
| 311 | - Moved code around to improve maintainability. |
---|
| 312 | |
---|
[217] | 313 | * 1.52 : |
---|
| 314 | |
---|
[220] | 315 | - Added support for the TIFF format. |
---|
[217] | 316 | |
---|
[216] | 317 | * 1.51 : |
---|
| 318 | |
---|
[220] | 319 | - Added support for the DVI format. |
---|
[216] | 320 | |
---|
[211] | 321 | * 1.50 : |
---|
| 322 | |
---|
| 323 | - Major code changes to modularize. The pkpgcounter command line tool |
---|
| 324 | is now just an almost empty skeleton, which uses the pdlanalyzer |
---|
| 325 | library. |
---|
| 326 | |
---|
| 327 | - Several improvements to the parsing code. |
---|
| 328 | |
---|
[185] | 329 | * 1.00 : |
---|
| 330 | |
---|
| 331 | - First release. |
---|