Changeset 555 for pkpgcounter/trunk/pkpgpdls/bj.py
- Timestamp:
- 12/09/07 15:26:15 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/bj.py
r553 r555 30 30 class Parser(pdlparser.PDLParser) : 31 31 """A parser for Canon BJ documents.""" 32 format = "Canon BJ/BJC" 32 33 def isValid(self) : 33 34 """Returns True if data is BJ/BJC, else False.""" 34 35 if self.firstblock.startswith("\033[K\002\000") : 35 self.logdebug("DEBUG: Input file is in the Canon BJ format.")36 36 return True 37 37 else :