Show
Ignore:
Timestamp:
10/06/05 13:21:48 (19 years ago)
Author:
jerome
Message:

Fixed some PS parsing issues

Files:
1 modified

Legend:

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

    r263 r272  
    8282        previousline = "" 
    8383        for line in self.infile.xreadlines() :  
    84             if line.startswith(r"%%Page: ") or line.startswith(r"(%%[Page: ") : 
     84            if line.startswith(r"%%Creator: PScript5.dll") : 
     85                return 0 # Let this stuff be managed by GhostScript, since nup and copies disturb us. 
     86            elif line.startswith(r"%%Page: ") or line.startswith(r"(%%[Page: ") : 
    8587                proceed = 1 
    8688                try :