Show
Ignore:
Timestamp:
02/15/06 14:00:46 (18 years ago)
Author:
jerome
Message:

Launches gs less often when acroread is used to print.
v1.78 is out.

Location:
pkpgcounter/trunk/pkpgpdls
Files:
2 modified

Legend:

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

    r314 r321  
    8686        notrust = 0 
    8787        prescribe = 0 # Kyocera's Prescribe commands 
     88        acrobatmarker = 0 
    8889        for line in self.infile.xreadlines() :  
    89             if (not prescribe) and line.startswith(r"%%BeginResource: procset pdf") : 
     90            if (not prescribe) and line.startswith(r"%%BeginResource: procset pdf") \ 
     91               and not acrobatmarker : 
    9092                notrust = 1 # Let this stuff be managed by GhostScript, but we still extract number of copies 
     93            elif line.startswith(r"%ADOPrintSettings: L3") : 
     94                acrobatmarker = 1 
    9195            elif line.startswith("!R!") : 
    9296                prescribe = 1 
  • pkpgcounter/trunk/pkpgpdls/version.py

    r318 r321  
    2020# 
    2121 
    22 __version__ = "1.77" 
     22__version__ = "1.78" 
    2323 
    2424__doc__ = """pkpgcounter : a generic Page Description Languages parser."""