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