Show
Ignore:
Timestamp:
10/17/06 09:41:55 (18 years ago)
Author:
jerome
Message:

Improved ink accounting by allowing several commands to be launch to convert to TIFF in case one of them fails.

Files:
1 modified

Legend:

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

    r415 r428  
    3434class Parser(pdlparser.PDLParser) : 
    3535    """A parser for PostScript documents.""" 
    36     totiffcommand = 'gs -sDEVICE=tiff24nc -dPARANOIDSAFER -dNOPAUSE -dBATCH -dQUIET -r%(dpi)i -sOutputFile="%(fname)s" -' 
     36    totiffcommands = [ 'gs -sDEVICE=tiff24nc -dPARANOIDSAFER -dNOPAUSE -dBATCH -dQUIET -r%(dpi)i -sOutputFile="%(fname)s" -' ] 
    3737    def isValid(self) :     
    3838        """Returns True if data is PostScript, else False."""