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

Fixed some PS parsing issues

Location:
pkpgcounter/trunk/pkpgpdls
Files:
2 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 : 
  • pkpgcounter/trunk/pkpgpdls/version.py

    r269 r272  
    2020# 
    2121 
    22 __version__ = "1.70" 
     22__version__ = "1.71" 
    2323 
    2424__doc__ = """pkpgcounter : a generic Page Description Languages parser."""