1 | # $Id$ |
---|
2 | |
---|
3 | pkpgcounter : a generic Page Description Language parser |
---|
4 | |
---|
5 | (c) 2003, 2004, 2005, 2006, 2007, 2008 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 | - Increased accuracy in the PDF parser, with some speed expense but |
---|
31 | some big room for future improvements. |
---|
32 | |
---|
33 | * 3.50 : |
---|
34 | |
---|
35 | - Added support for Canon BJ/BJC documents in page counting mode. |
---|
36 | |
---|
37 | - Added support for Structured Fax documents in page counting mode. |
---|
38 | |
---|
39 | - Added support for ASCII PNM (Netpbm) documents in page counting mode. |
---|
40 | |
---|
41 | - Fixed a problem with the parsing of SPL1 (GDI) documents : all such |
---|
42 | documents should now be correctly parsed. |
---|
43 | |
---|
44 | - Improved the PCL3/4/5 parser. |
---|
45 | |
---|
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 | |
---|
59 | * 3.30 : |
---|
60 | |
---|
61 | - Added support for all file formats supported by the Python Imaging |
---|
62 | Library. |
---|
63 | |
---|
64 | - Added a minimal parser for Hewlett-Packard LIDIL documents, as |
---|
65 | produced by the hpijs driver. |
---|
66 | |
---|
67 | - Improved general reliability. |
---|
68 | |
---|
69 | - Improved detection of PCL3/4/5 jobs. |
---|
70 | |
---|
71 | - Major code cleaning. |
---|
72 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
116 | * 2.14 : |
---|
117 | |
---|
118 | - Fixed a problem with some PS drivers which don't output %%Page: |
---|
119 | comments. |
---|
120 | |
---|
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 | |
---|
128 | * 2.12 : |
---|
129 | |
---|
130 | - Fixed a problem with the PostScript parser. |
---|
131 | |
---|
132 | * 2.11 : |
---|
133 | |
---|
134 | - Improved overall robustness in ink accounting mode. |
---|
135 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
169 | * 1.84alpha : |
---|
170 | |
---|
171 | - Added initial support for the computation of ink coverage. |
---|
172 | See python analyzer.py --help for details. The same command |
---|
173 | line options work for pkpgcounter, although it's not |
---|
174 | documented yet. |
---|
175 | |
---|
176 | * 1.83 : |
---|
177 | |
---|
178 | - Fixed a famously known 'brown paper bag' issue with file type autodetection. |
---|
179 | |
---|
180 | * 1.82 : |
---|
181 | |
---|
182 | - Fixed PCL3/4/5 parser to detect recent Xerox drivers' output. |
---|
183 | |
---|
184 | * 1.81 : |
---|
185 | |
---|
186 | - Improved the gs+Acrobat Reader fix done in 1.78. |
---|
187 | |
---|
188 | * 1.80 : |
---|
189 | |
---|
190 | - Added support for Zenographics ZjStream input format. |
---|
191 | |
---|
192 | * 1.79 : |
---|
193 | |
---|
194 | - Fixed a small problem in PostScript parser with dvips output. |
---|
195 | |
---|
196 | * 1.78 : |
---|
197 | |
---|
198 | - Launches gs less often when printing is done from Acrobat |
---|
199 | Reader. |
---|
200 | |
---|
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 | |
---|
207 | * 1.76 : |
---|
208 | |
---|
209 | - Improved the PCLXL parser wrt undocumented tags. |
---|
210 | |
---|
211 | - Preliminary support for Kyocera Prescribe commands. |
---|
212 | |
---|
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 | |
---|
218 | * 1.74 : |
---|
219 | |
---|
220 | - Fixed a problem in the retrieval of named media sizes in PCLXL. |
---|
221 | |
---|
222 | - Changed copyright years. |
---|
223 | |
---|
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 | |
---|
234 | * 1.72 : |
---|
235 | |
---|
236 | - Improved heuristic to detect when ghostscript has to be used to do |
---|
237 | the parsing. |
---|
238 | |
---|
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 | |
---|
247 | * 1.70 : |
---|
248 | |
---|
249 | - Fixed some PJL escaping issue in the PCLXL and PCL3/4/5 parsers. |
---|
250 | |
---|
251 | * 1.69 : |
---|
252 | |
---|
253 | - Improved PCL3/4/5 parser. |
---|
254 | |
---|
255 | - Improved PCLXL parser wrt PJL stuff. |
---|
256 | |
---|
257 | * 1.68 : |
---|
258 | |
---|
259 | - Improved PostScript parser. |
---|
260 | |
---|
261 | * 1.67 : |
---|
262 | |
---|
263 | - Improved PostScript parser. |
---|
264 | |
---|
265 | - Improved PCL3/4/5 parser. |
---|
266 | |
---|
267 | * 1.66 : |
---|
268 | |
---|
269 | - Improved PCLXL parser. |
---|
270 | |
---|
271 | - Improved PCL3/4/5 parser. |
---|
272 | |
---|
273 | * 1.65 : |
---|
274 | |
---|
275 | - Improved PostScript parser. |
---|
276 | |
---|
277 | - Improved PCL3/4/5 parser. |
---|
278 | |
---|
279 | * 1.64 : |
---|
280 | |
---|
281 | - Improved PCL3/4/5 parser. |
---|
282 | |
---|
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 | |
---|
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 | |
---|
294 | * 1.61 : |
---|
295 | |
---|
296 | - Improved PCL3/4/5 parser. |
---|
297 | |
---|
298 | - Better handling of the number of copies in the PostScript parser. |
---|
299 | Now the number can be different from page to page. |
---|
300 | |
---|
301 | * 1.60 : |
---|
302 | |
---|
303 | - Improved PCLXL parser. |
---|
304 | |
---|
305 | * 1.59 : |
---|
306 | |
---|
307 | - Major rewrite of the PDF parser to correctly handle all line endings. |
---|
308 | |
---|
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 | |
---|
315 | * 1.57 : |
---|
316 | |
---|
317 | - Fixed a recently introduced bug in binary postscript handling code. |
---|
318 | |
---|
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 | |
---|
324 | * 1.55 : |
---|
325 | |
---|
326 | - Added support for OpenOffice.org Writer and Impress documents. |
---|
327 | |
---|
328 | * 1.54 : |
---|
329 | |
---|
330 | - Added online documentation and a manual page. |
---|
331 | |
---|
332 | * 1.53 : |
---|
333 | |
---|
334 | - Moved code around to improve maintainability. |
---|
335 | |
---|
336 | * 1.52 : |
---|
337 | |
---|
338 | - Added support for the TIFF format. |
---|
339 | |
---|
340 | * 1.51 : |
---|
341 | |
---|
342 | - Added support for the DVI format. |
---|
343 | |
---|
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 | |
---|
352 | * 1.00 : |
---|
353 | |
---|
354 | - First release. |
---|