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