Changeset 914 for pykota/trunk/bin
- Timestamp:
- 04/15/03 13:09:04 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/pykota
r909 r914 23 23 # 24 24 # $Log$ 25 # Revision 1.22 2003/04/15 11:09:04 jalet 26 # Small bug was fixed when a printer was never used and its internal 27 # page counter is not accessible. 28 # 25 29 # Revision 1.21 2003/04/12 17:20:14 jalet 26 30 # Better formula for HP workaround … … 217 221 # counter in the printer and last page counter taken from the Quota 218 222 # Storage database for this particular printer 219 jobsize = (counterbeforejob - lastpagecounter) 223 try : 224 jobsize = (counterbeforejob - lastpagecounter) 225 except TypeError : 226 # never used, and internal page counter not accessible 227 jobsize = 0 228 220 229 if jobsize < 0 : 221 230 # Probably an HP printer which was switched off and back on,