Show
Ignore:
Timestamp:
09/03/05 00:40:57 (19 years ago)
Author:
jerome
Message:

Added a PJL parsing module to extract SET and DEFAULT statements.
Improved general readability.
Fixed some minor problems thanks to pychecker.

Files:
1 modified

Legend:

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

    r235 r252  
    3434           self.firstblock.startswith("\n\033@") or \ 
    3535           self.firstblock.startswith("\0\0\0\033\1@EJL") : # ESC/P Raster ??? Seen on Stylus Photo 1284 
    36             if self.debug :   
    37                 sys.stderr.write("DEBUG: Input file is in the ESC/P2 format.\n") 
     36            self.logdebug("DEBUG: Input file is in the ESC/P2 format.") 
    3837            return 1 
    3938        else :