Changeset 478 for pkpgcounter/trunk/pkpgpdls/pcl345.py
- Timestamp:
- 09/29/07 07:13:02 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/pcl345.py
r471 r478 97 97 (self.firstblock.find("\033%-12345X") != -1) or \ 98 98 (self.firstblock.find("@PJL ENTER LANGUAGE=PCL\012\015\033") != -1) or \ 99 (self.firstblock.startswith(chr(0xcd)+chr(0xca)) and self.firstblock.find("\033E\033")) :99 (self.firstblock.startswith(chr(0xcd)+chr(0xca)) and (self.firstblock.find("\033E\033") != -1)) : 100 100 self.logdebug("DEBUG: Input file is in the PCL3/4/5 format.") 101 101 return True