Changeset 555 for pkpgcounter/trunk/pkpgpdls/escpages03.py
- Timestamp:
- 12/09/07 15:26:15 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/escpages03.py
r522 r555 33 33 class Parser(pdlparser.PDLParser) : 34 34 """A parser for ESC/PageS03 documents.""" 35 format = "ESC/PageS03" 35 36 def isValid(self) : 36 37 """Returns True if data is TIFF, else False.""" 37 38 if self.firstblock.startswith("\033\1@EJL") and \ 38 39 (self.firstblock.find("=ESC/PAGES03\n") != -1) : 39 self.logdebug("DEBUG: Input file is in the ESC/PageS03 format.")40 40 return True 41 41 else :