Changeset 1543

Show
Ignore:
Timestamp:
06/18/04 08:16:14 (20 years ago)
Author:
jalet
Message:

Fixes PostScript? detection code for incorrect drivers

Location:
pykota/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/NEWS

    r1542 r1543  
    2424    - 1.19alpha22 : 
    2525     
     26        - Improved PostScript detection code for bad drivers 
     27          which don't correctly switch languages between PJL 
     28          and PS. 
     29        
    2630        - Even better debugging code. 
    2731         
  • pykota/trunk/pykota/pdlanalyzer.py

    r1487 r1543  
    2222# 
    2323# $Log$ 
     24# Revision 1.4  2004/06/18 06:16:14  jalet 
     25# Fixes PostScript detection code for incorrect drivers 
     26# 
    2427# Revision 1.3  2004/05/21 20:40:08  jalet 
    2528# All the code for pkpgcounter is now in pdlanalyzer.py 
     
    409412             ((data.find("LANGUAGE=POSTSCRIPT") != -1) or \ 
    410413              (data.find("LANGUAGE = POSTSCRIPT") != -1) or \ 
    411               (data.find("LANGUAGE = Postscript") != -1))) : 
     414              (data.find("LANGUAGE = Postscript") != -1))) or \ 
     415              (data.find("%!PS-Adobe") != -1) : 
    412416            return 1 
    413417        else :