Changeset 261 for pkpgcounter/trunk/pkpgpdls/postscript.py
- Timestamp:
- 09/13/05 10:07:37 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/postscript.py
r256 r261 83 83 if line.startswith(r"%%Page: ") : 84 84 pagecount += 1 85 pages[pagecount] = { "copies" : 1}85 pages[pagecount] = { "copies" : pages[pagecount-1]["copies"] } 86 86 elif line.startswith(r"(%%[Page: ") : 87 87 pagecount += 1 88 pages[pagecount] = { "copies" : 1}88 pages[pagecount] = { "copies" : pages[pagecount-1]["copies"] } 89 89 elif line.startswith(r"%%Requirements: numcopies(") : 90 90 try :