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