1 | # $Id$ |
---|
2 | |
---|
3 | pkpgcounter : a generic Page Description Language parser |
---|
4 | |
---|
5 | (c) 2003, 2004, 2005, 2006, 2007 Jerome Alet <alet@librelogiciel.com> |
---|
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 3 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, see <http://www.gnu.org/licenses/>. |
---|
18 | |
---|
19 | ============================================================================= |
---|
20 | |
---|
21 | pkpgcounter News : |
---|
22 | |
---|
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 | |
---|
30 | * 3.50 : |
---|
31 | |
---|
32 | - Added support for Canon BJ/BJC documents in page counting mode. |
---|
33 | |
---|
34 | - Added support for Structured Fax documents in page counting mode. |
---|
35 | |
---|
36 | - Added support for ASCII PNM (Netpbm) documents in page counting mode. |
---|
37 | |
---|
38 | - Fixed a problem with the parsing of SPL1 (GDI) documents : all such |
---|
39 | documents should now be correctly parsed. |
---|
40 | |
---|
41 | - Improved the PCL3/4/5 parser. |
---|
42 | |
---|
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 | |
---|
56 | * 3.30 : |
---|
57 | |
---|
58 | - Added support for all file formats supported by the Python Imaging |
---|
59 | Library. |
---|
60 | |
---|
61 | - Added a minimal parser for Hewlett-Packard LIDIL documents, as |
---|
62 | produced by the hpijs driver. |
---|
63 | |
---|
64 | - Improved general reliability. |
---|
65 | |
---|
66 | - Improved detection of PCL3/4/5 jobs. |
---|
67 | |
---|
68 | - Major code cleaning. |
---|
69 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
113 | * 2.14 : |
---|
114 | |
---|
115 | - Fixed a problem with some PS drivers which don't output %%Page: |
---|
116 | comments. |
---|
117 | |
---|
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 | |
---|
125 | * 2.12 : |
---|
126 | |
---|
127 | - Fixed a problem with the PostScript parser. |
---|
128 | |
---|
129 | * 2.11 : |
---|
130 | |
---|
131 | - Improved overall robustness in ink accounting mode. |
---|
132 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
166 | * 1.84alpha : |
---|
167 | |
---|
168 | - Added initial support for the computation of ink coverage. |
---|
169 | See python analyzer.py --help for details. The same command |
---|
170 | line options work for pkpgcounter, although it's not |
---|
171 | documented yet. |
---|
172 | |
---|
173 | * 1.83 : |
---|
174 | |
---|
175 | - Fixed a famously known 'brown paper bag' issue with file type autodetection. |
---|
176 | |
---|
177 | * 1.82 : |
---|
178 | |
---|
179 | - Fixed PCL3/4/5 parser to detect recent Xerox drivers' output. |
---|
180 | |
---|
181 | * 1.81 : |
---|
182 | |
---|
183 | - Improved the gs+Acrobat Reader fix done in 1.78. |
---|
184 | |
---|
185 | * 1.80 : |
---|
186 | |
---|
187 | - Added support for Zenographics ZjStream input format. |
---|
188 | |
---|
189 | * 1.79 : |
---|
190 | |
---|
191 | - Fixed a small problem in PostScript parser with dvips output. |
---|
192 | |
---|
193 | * 1.78 : |
---|
194 | |
---|
195 | - Launches gs less often when printing is done from Acrobat |
---|
196 | Reader. |
---|
197 | |
---|
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 | |
---|
204 | * 1.76 : |
---|
205 | |
---|
206 | - Improved the PCLXL parser wrt undocumented tags. |
---|
207 | |
---|
208 | - Preliminary support for Kyocera Prescribe commands. |
---|
209 | |
---|
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 | |
---|
215 | * 1.74 : |
---|
216 | |
---|
217 | - Fixed a problem in the retrieval of named media sizes in PCLXL. |
---|
218 | |
---|
219 | - Changed copyright years. |
---|
220 | |
---|
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 | |
---|
231 | * 1.72 : |
---|
232 | |
---|
233 | - Improved heuristic to detect when ghostscript has to be used to do |
---|
234 | the parsing. |
---|
235 | |
---|
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 | |
---|
244 | * 1.70 : |
---|
245 | |
---|
246 | - Fixed some PJL escaping issue in the PCLXL and PCL3/4/5 parsers. |
---|
247 | |
---|
248 | * 1.69 : |
---|
249 | |
---|
250 | - Improved PCL3/4/5 parser. |
---|
251 | |
---|
252 | - Improved PCLXL parser wrt PJL stuff. |
---|
253 | |
---|
254 | * 1.68 : |
---|
255 | |
---|
256 | - Improved PostScript parser. |
---|
257 | |
---|
258 | * 1.67 : |
---|
259 | |
---|
260 | - Improved PostScript parser. |
---|
261 | |
---|
262 | - Improved PCL3/4/5 parser. |
---|
263 | |
---|
264 | * 1.66 : |
---|
265 | |
---|
266 | - Improved PCLXL parser. |
---|
267 | |
---|
268 | - Improved PCL3/4/5 parser. |
---|
269 | |
---|
270 | * 1.65 : |
---|
271 | |
---|
272 | - Improved PostScript parser. |
---|
273 | |
---|
274 | - Improved PCL3/4/5 parser. |
---|
275 | |
---|
276 | * 1.64 : |
---|
277 | |
---|
278 | - Improved PCL3/4/5 parser. |
---|
279 | |
---|
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 | |
---|
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 | |
---|
291 | * 1.61 : |
---|
292 | |
---|
293 | - Improved PCL3/4/5 parser. |
---|
294 | |
---|
295 | - Better handling of the number of copies in the PostScript parser. |
---|
296 | Now the number can be different from page to page. |
---|
297 | |
---|
298 | * 1.60 : |
---|
299 | |
---|
300 | - Improved PCLXL parser. |
---|
301 | |
---|
302 | * 1.59 : |
---|
303 | |
---|
304 | - Major rewrite of the PDF parser to correctly handle all line endings. |
---|
305 | |
---|
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 | |
---|
312 | * 1.57 : |
---|
313 | |
---|
314 | - Fixed a recently introduced bug in binary postscript handling code. |
---|
315 | |
---|
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 | |
---|
321 | * 1.55 : |
---|
322 | |
---|
323 | - Added support for OpenOffice.org Writer and Impress documents. |
---|
324 | |
---|
325 | * 1.54 : |
---|
326 | |
---|
327 | - Added online documentation and a manual page. |
---|
328 | |
---|
329 | * 1.53 : |
---|
330 | |
---|
331 | - Moved code around to improve maintainability. |
---|
332 | |
---|
333 | * 1.52 : |
---|
334 | |
---|
335 | - Added support for the TIFF format. |
---|
336 | |
---|
337 | * 1.51 : |
---|
338 | |
---|
339 | - Added support for the DVI format. |
---|
340 | |
---|
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 | |
---|
349 | * 1.00 : |
---|
350 | |
---|
351 | - First release. |
---|