22 | | # |
23 | | # $Log$ |
24 | | # Revision 1.52 2005/02/13 21:26:34 jalet |
25 | | # Better detection of number of copies in PostScript parser |
26 | | # |
27 | | # Revision 1.51 2005/01/12 14:44:27 jalet |
28 | | # Fixed a fuckingly strange exception by cleverly ignoring it entirely :-) |
29 | | # |
30 | | # Revision 1.50 2005/01/07 15:53:58 jalet |
31 | | # Another fix for PCL3/4/5 |
32 | | # |
33 | | # Revision 1.49 2005/01/06 17:41:34 jalet |
34 | | # Of course if I forget some files during the commits, the software doesn't |
35 | | # work as expected ;-) |
36 | | # |
37 | | # Revision 1.48 2004/12/16 15:11:00 jalet |
38 | | # Added some debugging code to PCL3/4/5 parser |
39 | | # |
40 | | # Revision 1.47 2004/12/13 20:49:53 jalet |
41 | | # Bad typo |
42 | | # |
43 | | # Revision 1.46 2004/12/13 20:48:33 jalet |
44 | | # Outputs debug info to stderr |
45 | | # |
46 | | # Revision 1.45 2004/12/13 20:39:46 jalet |
47 | | # Added a --debug command line option to pkpgcounter, for people interested |
48 | | # in seeing what happens, and what will be available in the future :-) |
49 | | # |
50 | | # Revision 1.44 2004/11/17 15:10:31 jalet |
51 | | # Fixed Epson Stylus Photo problem in software accounting |
52 | | # |
53 | | # Revision 1.43 2004/11/13 20:52:26 jalet |
54 | | # Heavy work done on PCL3/4/5 and PCLXL job analyzis |
55 | | # |
56 | | # Revision 1.42 2004/09/24 21:19:48 jalet |
57 | | # Did a pass of PyChecker |
58 | | # |
59 | | # Revision 1.41 2004/09/04 14:18:55 jalet |
60 | | # Support for more laserjet models added. |
61 | | # |
62 | | # Revision 1.40 2004/09/04 14:01:47 jalet |
63 | | # Support for PCL3 (HP Deskjets) added to generic PDL parser |
64 | | # |
65 | | # Revision 1.39 2004/09/02 23:30:05 jalet |
66 | | # Comments |
67 | | # |
68 | | # Revision 1.38 2004/09/02 22:08:37 jalet |
69 | | # First draft of PCL3GUI analyzer. |
70 | | # |
71 | | # Revision 1.37 2004/09/02 21:22:49 jalet |
72 | | # One more PCL tag |
73 | | # |
74 | | # Revision 1.36 2004/09/01 22:31:49 jalet |
75 | | # Some more work on ESC/P2 analyzer to avoid missing \r\n sequences. Not |
76 | | # exactly optimal though... |
77 | | # |
78 | | # Revision 1.35 2004/08/30 23:10:24 jalet |
79 | | # Improved the ESC/P2 analyzer so that more GhostScript devices are supported |
80 | | # |
81 | | # Revision 1.34 2004/08/27 09:08:22 jalet |
82 | | # Improvement in PostScript parser to avoid being fooled by clever "students" |
83 | | # |
84 | | # Revision 1.33 2004/08/27 09:02:34 jalet |
85 | | # Forgot to remove some special debugging code... |
86 | | # |
87 | | # Revision 1.32 2004/08/27 08:58:50 jalet |
88 | | # Relax checks for PCL5 header to accomodate strange printer drivers |
89 | | # |
90 | | # Revision 1.31 2004/08/22 08:25:33 jalet |
91 | | # Improved ESC/P2 miniparser thanks to Paulo Silva |
92 | | # |
93 | | # Revision 1.30 2004/08/21 23:16:57 jalet |
94 | | # First draft of ESC/P2 (mini-)parser. |
95 | | # |
96 | | # Revision 1.29 2004/08/11 16:25:38 jalet |
97 | | # Fixed index problem in PCLXL parser when retrieving number of copies for |
98 | | # each page |
99 | | # |
100 | | # Revision 1.28 2004/08/10 23:01:49 jalet |
101 | | # Fixed number of copies in PCL5 parser |
102 | | # |
103 | | # Revision 1.27 2004/08/09 18:14:22 jalet |
104 | | # Added workaround for number of copies and some PostScript drivers |
105 | | # |
106 | | # Revision 1.26 2004/07/22 13:49:51 jalet |
107 | | # Added support for binary PostScript through GhostScript if native DSC |
108 | | # compliant PostScript analyzer doesn't find any page. This is much |
109 | | # slower though, so native analyzer is tried first. |
110 | | # |
111 | | # Revision 1.25 2004/07/10 14:06:36 jalet |
112 | | # Fix for Python2.1 incompatibilities |
113 | | # |
114 | | # Revision 1.24 2004/07/05 21:00:39 jalet |
115 | | # Fix for number of copies for each page in PCLXL parser |
116 | | # |
117 | | # Revision 1.23 2004/07/03 08:21:59 jalet |
118 | | # Testsuite for PDL Analyzer added |
119 | | # |
120 | | # Revision 1.22 2004/06/29 14:21:41 jalet |
121 | | # Smallish optimization |
122 | | # |
123 | | # Revision 1.21 2004/06/28 23:11:26 jalet |
124 | | # Code de-factorization in PCLXL parser |
125 | | # |
126 | | # Revision 1.20 2004/06/28 22:38:41 jalet |
127 | | # Increased speed by a factor of 2 in PCLXL parser |
128 | | # |
129 | | # Revision 1.19 2004/06/28 21:20:30 jalet |
130 | | # PCLXL support now works ! |
131 | | # |
132 | | # Revision 1.18 2004/06/27 22:59:37 jalet |
133 | | # More work on PCLXL parser |
134 | | # |
135 | | # Revision 1.17 2004/06/26 23:20:01 jalet |
136 | | # Additionnal speedup for GhostScript generated PCL5 files |
137 | | # |
138 | | # Revision 1.16 2004/06/26 15:31:00 jalet |
139 | | # mmap reintroduced in PCL5 parser |
140 | | # |
141 | | # Revision 1.15 2004/06/26 14:14:31 jalet |
142 | | # Now uses Psyco if it is available |
143 | | # |
144 | | # Revision 1.14 2004/06/25 09:50:28 jalet |
145 | | # More debug info in PCLXL parser |
146 | | # |
147 | | # Revision 1.13 2004/06/25 08:10:08 jalet |
148 | | # Another fix for PCL5 parser |
149 | | # |
150 | | # Revision 1.12 2004/06/24 23:09:53 jalet |
151 | | # Fix for number of copies in PCL5 parser |
152 | | # |
153 | | # Revision 1.11 2004/06/23 22:07:50 jalet |
154 | | # Fixed PCL5 parser according to the sources of rastertohp |
155 | | # |
156 | | # Revision 1.10 2004/06/18 22:24:03 jalet |
157 | | # Removed old comments |
158 | | # |
159 | | # Revision 1.9 2004/06/18 22:21:27 jalet |
160 | | # Native PDF parser greatly improved. |
161 | | # GhostScript based PDF parser completely removed because native code |
162 | | # is now portable across Python versions. |
163 | | # |
164 | | # Revision 1.8 2004/06/18 20:49:46 jalet |
165 | | # "ERROR:" prefix added |
166 | | # |
167 | | # Revision 1.7 2004/06/18 17:48:04 jalet |
168 | | # Added native fast PDF parsing method |
169 | | # |
170 | | # Revision 1.6 2004/06/18 14:00:16 jalet |
171 | | # Added PDF support in smart PDL analyzer (through GhostScript for now) |
172 | | # |
173 | | # Revision 1.5 2004/06/18 10:09:05 jalet |
174 | | # Resets file pointer to start of file in all cases |
175 | | # |
176 | | # Revision 1.4 2004/06/18 06:16:14 jalet |
177 | | # Fixes PostScript detection code for incorrect drivers |
178 | | # |
179 | | # Revision 1.3 2004/05/21 20:40:08 jalet |
180 | | # All the code for pkpgcounter is now in pdlanalyzer.py |
181 | | # |
182 | | # Revision 1.2 2004/05/19 19:09:36 jalet |
183 | | # Speed improvement |
184 | | # |
185 | | # Revision 1.1 2004/05/18 09:59:54 jalet |
186 | | # pkpgcounter is now just a wrapper around the PDLAnalyzer class |
187 | | # |