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