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