Show
Ignore:
Timestamp:
06/08/06 15:43:03 (18 years ago)
Author:
jerome
Message:

Improved PCL3/4/5 autodetection for some Xerox drivers.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/pkpgpdls/pcl345.py

    r307 r339  
    8686           self.firstblock.startswith("\033%8\033") or \ 
    8787           (self.firstblock.find("\033%-12345X") != -1) or \ 
     88           self.firstblock.find("@PJL ENTER LANGUAGE=PCL\012\015\033") or \ 
    8889           (self.firstblock.startswith(chr(0xcd)+chr(0xca)) and self.firstblock.find("\033E\033")) : 
    8990            self.logdebug("DEBUG: Input file is in the PCL3/4/5 format.")