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/pdf.py

    r415 r428  
    4343class Parser(pdlparser.PDLParser) : 
    4444    """A parser for PDF documents.""" 
    45     totiffcommand = 'gs -sDEVICE=tiff24nc -dPARANOIDSAFER -dNOPAUSE -dBATCH -dQUIET -r%(dpi)i -sOutputFile="%(fname)s" -' 
     45    totiffcommands = [ 'gs -sDEVICE=tiff24nc -dPARANOIDSAFER -dNOPAUSE -dBATCH -dQUIET -r%(dpi)i -sOutputFile="%(fname)s" -' ] 
    4646    def isValid(self) :     
    4747        """Returns True if data is PDF, else False."""