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