[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> |
---|
[185] | 6 | This program is free software; you can redistribute it and/or modify |
---|
| 7 | it under the terms of the GNU General Public License as published by |
---|
| 8 | the Free Software Foundation; either version 2 of the License, or |
---|
| 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 |
---|
| 17 | along with this program; if not, write to the Free Software |
---|
[211] | 18 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
---|
[185] | 19 | |
---|
| 20 | ============================================================================= |
---|
| 21 | |
---|
| 22 | pkpgcounter News : |
---|
[273] | 23 | |
---|
[450] | 24 | * 2.15 : |
---|
| 25 | |
---|
| 26 | - Fixed a regexp in the PDF parser which caused some files to be |
---|
| 27 | incorrectly accounted for. |
---|
| 28 | |
---|
| 29 | - Improved the detection of the number of copies in PostScript documents. |
---|
| 30 | |
---|
[444] | 31 | * 2.14 : |
---|
| 32 | |
---|
| 33 | - Fixed a problem with some PS drivers which don't output %%Page: |
---|
| 34 | comments. |
---|
| 35 | |
---|
[439] | 36 | * 2.13 : |
---|
| 37 | |
---|
| 38 | - Nowrecognizes the GC colorspace if you only want to differentiate |
---|
| 39 | grayscale pages from coloured pages. In this colorspace, the |
---|
| 40 | percents are always "G : 100.0 C : 0.0" or "G : 0.0 C : 100.0" |
---|
| 41 | respectively for a grayscale page and a coloured page. |
---|
| 42 | |
---|
[437] | 43 | * 2.12 : |
---|
| 44 | |
---|
| 45 | - Fixed a problem with the PostScript parser. |
---|
| 46 | |
---|
[435] | 47 | * 2.11 : |
---|
| 48 | |
---|
| 49 | - Improved overall robustness in ink accounting mode. |
---|
| 50 | |
---|
[418] | 51 | * 2.10 : |
---|
| 52 | |
---|
| 53 | - Added a plain text parser, with support for both page counting and |
---|
| 54 | ink coverage. |
---|
| 55 | |
---|
| 56 | - Added a minimal SPL1 parser. |
---|
| 57 | |
---|
| 58 | - Fixed a problem in the PCLXL parser related to Kyocera printer drivers. |
---|
| 59 | |
---|
[406] | 60 | * 2.00 : |
---|
| 61 | |
---|
| 62 | - The PCL3/4/5 parser was rewritten from scratch and is now |
---|
| 63 | table driven. |
---|
| 64 | |
---|
| 65 | - Improved the PostScript parser. |
---|
| 66 | |
---|
[387] | 67 | * 1.85 : |
---|
| 68 | |
---|
| 69 | - Added support for Samsung QPDL (aka SPL2) file format in page |
---|
| 70 | counting mode, thanks to the work done by Aur�en Croc on |
---|
| 71 | reverse engineering the file format. |
---|
| 72 | |
---|
[383] | 73 | * 1.85alpha : |
---|
| 74 | |
---|
| 75 | - Added test document and program to generate the test document |
---|
| 76 | to check the functionning of the ink coverage computation algorithm. |
---|
| 77 | |
---|
[378] | 78 | * 1.84 : |
---|
| 79 | |
---|
| 80 | - Computation of ink coverage now works and is documented. |
---|
| 81 | The supported file formats are : PS, PDF, PCLXL, PCL3/4/5, |
---|
| 82 | DVI and TIFF. |
---|
| 83 | |
---|
[363] | 84 | * 1.84alpha : |
---|
| 85 | |
---|
| 86 | - Added initial support for the computation of ink coverage. |
---|
[366] | 87 | See python analyzer.py --help for details. The same command |
---|
[363] | 88 | line options work for pkpgcounter, although it's not |
---|
| 89 | documented yet. |
---|
| 90 | |
---|
[343] | 91 | * 1.83 : |
---|
| 92 | |
---|
| 93 | - Fixed a famously known 'brown paper bag' issue with file type autodetection. |
---|
| 94 | |
---|
[339] | 95 | * 1.82 : |
---|
| 96 | |
---|
| 97 | - Fixed PCL3/4/5 parser to detect recent Xerox drivers' output. |
---|
| 98 | |
---|
[334] | 99 | * 1.81 : |
---|
| 100 | |
---|
| 101 | - Improved the gs+Acrobat Reader fix done in 1.78. |
---|
| 102 | |
---|
[329] | 103 | * 1.80 : |
---|
| 104 | |
---|
| 105 | - Added support for Zenographics ZjStream input format. |
---|
| 106 | |
---|
[325] | 107 | * 1.79 : |
---|
| 108 | |
---|
| 109 | - Fixed a small problem in PostScript parser with dvips output. |
---|
| 110 | |
---|
[321] | 111 | * 1.78 : |
---|
| 112 | |
---|
| 113 | - Launches gs less often when printing is done from Acrobat |
---|
| 114 | Reader. |
---|
| 115 | |
---|
[318] | 116 | * 1.77 : |
---|
| 117 | |
---|
| 118 | - Fixed some problems with the code introduced in 1.76. |
---|
| 119 | |
---|
| 120 | - Improved PCLXL parser's speed by almost 10%. |
---|
| 121 | |
---|
[314] | 122 | * 1.76 : |
---|
| 123 | |
---|
| 124 | - Improved the PCLXL parser wrt undocumented tags. |
---|
| 125 | |
---|
| 126 | - Preliminary support for Kyocera Prescribe commands. |
---|
| 127 | |
---|
[305] | 128 | * 1.75 : |
---|
| 129 | |
---|
| 130 | - Added preliminary support for Canon ImageRunner's "LIPS" or "UFR" |
---|
| 131 | (I don't know which) Page Description Language. |
---|
| 132 | |
---|
[303] | 133 | * 1.74 : |
---|
| 134 | |
---|
| 135 | - Fixed a problem in the retrieval of named media sizes in PCLXL. |
---|
| 136 | |
---|
| 137 | - Changed copyright years. |
---|
| 138 | |
---|
[295] | 139 | * 1.73 : |
---|
| 140 | |
---|
| 141 | - Fixed duplex detection code in PCL3/4/5 parser. |
---|
| 142 | |
---|
| 143 | - Fixed PCLXL detection code. |
---|
| 144 | |
---|
| 145 | - Fixed retrieval of custom media types' names in PCLXL. |
---|
| 146 | |
---|
| 147 | - Added inactive code to compute ink coverage ala PrintBill. |
---|
| 148 | |
---|
[273] | 149 | * 1.72 : |
---|
| 150 | |
---|
| 151 | - Improved heuristic to detect when ghostscript has to be used to do |
---|
| 152 | the parsing. |
---|
[185] | 153 | |
---|
[272] | 154 | * 1.71 : |
---|
| 155 | |
---|
| 156 | - Now uses ghostscript as the parser when the PS stream was created by a |
---|
| 157 | particular MSWindows driver. |
---|
| 158 | |
---|
| 159 | - Only complains about Psyco missing at install time, and stays |
---|
| 160 | quiet when running without Psyco. |
---|
| 161 | |
---|
[269] | 162 | * 1.70 : |
---|
| 163 | |
---|
| 164 | - Fixed some PJL escaping issue in the PCLXL and PCL3/4/5 parsers. |
---|
| 165 | |
---|
[267] | 166 | * 1.69 : |
---|
| 167 | |
---|
| 168 | - Improved PCL3/4/5 parser. |
---|
| 169 | |
---|
| 170 | - Improved PCLXL parser wrt PJL stuff. |
---|
| 171 | |
---|
[263] | 172 | * 1.68 : |
---|
| 173 | |
---|
| 174 | - Improved PostScript parser. |
---|
| 175 | |
---|
[262] | 176 | * 1.67 : |
---|
| 177 | |
---|
| 178 | - Improved PostScript parser. |
---|
| 179 | |
---|
| 180 | - Improved PCL3/4/5 parser. |
---|
| 181 | |
---|
[258] | 182 | * 1.66 : |
---|
| 183 | |
---|
| 184 | - Improved PCLXL parser. |
---|
| 185 | |
---|
| 186 | - Improved PCL3/4/5 parser. |
---|
| 187 | |
---|
[256] | 188 | * 1.65 : |
---|
| 189 | |
---|
| 190 | - Improved PostScript parser. |
---|
| 191 | |
---|
| 192 | - Improved PCL3/4/5 parser. |
---|
| 193 | |
---|
[255] | 194 | * 1.64 : |
---|
| 195 | |
---|
| 196 | - Improved PCL3/4/5 parser. |
---|
| 197 | |
---|
[253] | 198 | * 1.63 : |
---|
| 199 | |
---|
| 200 | - Now handles PJL statements to extract number of copies, duplex mode |
---|
| 201 | and paper size in the PCLXL and PCL3/4/5 parsers. |
---|
| 202 | |
---|
[252] | 203 | * 1.62 : |
---|
| 204 | |
---|
| 205 | - Better handling of the number of copies in the PCLXL parser. |
---|
| 206 | |
---|
| 207 | - Better handling of the number of copies in the PCL3/4/5 parser. |
---|
| 208 | |
---|
[248] | 209 | * 1.61 : |
---|
| 210 | |
---|
[249] | 211 | - Improved PCL3/4/5 parser. |
---|
| 212 | |
---|
[248] | 213 | - Better handling of the number of copies in the PostScript parser. |
---|
| 214 | Now the number can be different from page to page. |
---|
| 215 | |
---|
[245] | 216 | * 1.60 : |
---|
| 217 | |
---|
| 218 | - Improved PCLXL parser. |
---|
| 219 | |
---|
[243] | 220 | * 1.59 : |
---|
| 221 | |
---|
| 222 | - Major rewrite of the PDF parser to correctly handle all line endings. |
---|
| 223 | |
---|
[240] | 224 | * 1.58 : |
---|
| 225 | |
---|
| 226 | - Fix for PDF files which contain several versions of the same PDF object. |
---|
| 227 | |
---|
| 228 | - Doesn't break when python-psyco is not available. |
---|
| 229 | |
---|
[237] | 230 | * 1.57 : |
---|
| 231 | |
---|
| 232 | - Fixed a recently introduced bug in binary postscript handling code. |
---|
| 233 | |
---|
[235] | 234 | * 1.56 : |
---|
| 235 | |
---|
| 236 | - Renamed the library from pdlanalyzer into pkpgpdls to avoid problems |
---|
| 237 | when the code will be integrated back into PyKota. |
---|
| 238 | |
---|
[229] | 239 | * 1.55 : |
---|
| 240 | |
---|
| 241 | - Added support for OpenOffice.org Writer and Impress documents. |
---|
| 242 | |
---|
[224] | 243 | * 1.54 : |
---|
| 244 | |
---|
| 245 | - Added online documentation and a manual page. |
---|
| 246 | |
---|
[220] | 247 | * 1.53 : |
---|
| 248 | |
---|
| 249 | - Moved code around to improve maintainability. |
---|
| 250 | |
---|
[217] | 251 | * 1.52 : |
---|
| 252 | |
---|
[220] | 253 | - Added support for the TIFF format. |
---|
[217] | 254 | |
---|
[216] | 255 | * 1.51 : |
---|
| 256 | |
---|
[220] | 257 | - Added support for the DVI format. |
---|
[216] | 258 | |
---|
[211] | 259 | * 1.50 : |
---|
| 260 | |
---|
| 261 | - Major code changes to modularize. The pkpgcounter command line tool |
---|
| 262 | is now just an almost empty skeleton, which uses the pdlanalyzer |
---|
| 263 | library. |
---|
| 264 | |
---|
| 265 | - Several improvements to the parsing code. |
---|
| 266 | |
---|
[185] | 267 | * 1.00 : |
---|
| 268 | |
---|
| 269 | - First release. |
---|