Changeset 301
- Timestamp:
- 01/09/06 15:57:15 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/pclxl.py
r300 r301 138 138 size = unpack(self.endianness + "I", self.minfile[pos+3:startpos])[0] 139 139 else : 140 raise pdlparser.PDLParserError, "Error on size at %s " % (pos+2)140 raise pdlparser.PDLParserError, "Error on size at %s : %s" % (pos+2, length) 141 141 break 142 142 mediatypelabel = minfile[startpos:startpos+size] … … 149 149 # else : TODO : CUSTOM MEDIA SIZE AND UNIT ! 150 150 else : 151 pos = pos - 2 151 pos = pos - 2 # ignored 152 152 self.pages[self.pagecount] = { "copies" : 1, 153 153 "orientation" : orientationlabel,