Show
Ignore:
Timestamp:
12/09/07 15:26:15 (16 years ago)
Author:
jerome
Message:

Each parser now has a 'format' attribute containing its short name.

Files:
1 modified

Legend:

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

    r543 r555  
    4343                     ] 
    4444    required = [ "pcl6", "gs" ] 
     45    format = "PCL3/4/5" 
    4546    mediasizes = {  # ESC&l####A 
    4647                    0 : "Default", 
     
    110111               (firstblock.find("@PJL ENTER LANGUAGE=PCL\012\015\033") != -1) or \ 
    111112               (firstblock.startswith(chr(0xcd)+chr(0xca)) and (firstblock.find("\033E\033") != -1)) : 
    112                 self.logdebug("DEBUG: Input file is in the PCL3/4/5 format.") 
    113113                return True 
    114114            else :