Changeset 200 for pkpgcounter/trunk/pdlanalyzer/pcl345.py
- Timestamp:
- 04/04/05 14:18:36 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pdlanalyzer/pcl345.py
r196 r200 25 25 import mmap 26 26 27 from pdlanalyzer .pdlparser import PDLParser, PDLParserError27 from pdlanalyzer import pdlparser 28 28 29 class PCL Parser(PDLParser) :29 class PCL345Parser(pdlparser.PDLParser) : 30 30 """A parser for PCL3, PCL4, PCL5 documents.""" 31 31 mediasizes = { # ESC&l####A … … 345 345 parser = PCL345Parser(infile, debug=1) 346 346 totalsize += parser.getJobSize() 347 except PDLParserError, msg :347 except pdlparser.PDLParserError, msg : 348 348 sys.stderr.write("ERROR: %s\n" % msg) 349 349 sys.stderr.flush()