Changeset 321 for pkpgcounter/trunk/pkpgpdls/postscript.py
- Timestamp:
- 02/15/06 14:00:46 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/postscript.py
r314 r321 86 86 notrust = 0 87 87 prescribe = 0 # Kyocera's Prescribe commands 88 acrobatmarker = 0 88 89 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 : 90 92 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 91 95 elif line.startswith("!R!") : 92 96 prescribe = 1