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