Changeset 492 for pkpgcounter/trunk/pkpgpdls/dvi.py
- Timestamp:
- 11/20/07 00:56:15 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/dvi.py
r491 r492 32 32 class Parser(pdlparser.PDLParser) : 33 33 """A parser for DVI documents.""" 34 totiffcommands = [ ' cat >%(fname)s && dvips -q -o - %(fname)s | gs -sDEVICE=tiff24nc -dPARANOIDSAFER -dNOPAUSE -dBATCH -dQUIET -r%(dpi)i -sOutputFile="%(fname)s" -' ]34 totiffcommands = [ 'dvips -q -o - "%(infname)s" | gs -sDEVICE=tiff24nc -dPARANOIDSAFER -dNOPAUSE -dBATCH -dQUIET -r"%(dpi)i" -sOutputFile="%(outfname)s" -' ] 35 35 def isValid(self) : 36 36 """Returns True if data is DVI, else False."""