Changeset 487
- Timestamp:
- 11/17/07 14:59:30 (17 years ago)
- Location:
- pkpgcounter/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/spl1.py
r463 r487 36 36 """A parser for SPL1 documents.""" 37 37 def isValid(self) : 38 """Returns True if data is QPDL aka SPL2, else False."""38 """Returns True if data is SPL1, else False.""" 39 39 if ((self.firstblock[:128].find("\033%-12345X") != -1) and \ 40 40 (self.firstblock.find("$PJL ") != -1) and \ 41 41 ((self.firstblock.find("LANGUAGE=SMART") != -1) or \ 42 42 (self.firstblock.find("LANGUAGE = SMART") != -1))) : 43 self.logdebug("DEBUG: Input file is in the SPL1 (aka SPL12)format.")43 self.logdebug("DEBUG: Input file is in the SPL1 format.") 44 44 return True 45 45 else : -
pkpgcounter/trunk/tests/runtest.sh
r480 r487 84 84 hpdjplus \ 85 85 hpdjportable \ 86 gdi \ 86 87 tiff12nc \ 87 88 tiff24nc \