Changeset 3567

Show
Ignore:
Timestamp:
01/16/13 08:08:46 (12 years ago)
Author:
jerome
Message:

This patch corrects the page count of postscripts files when printed
with multiple copies from the MS Office suite. Without this patch, every
time that a user try to print a job using multiple copies from MS office
it counts much more than the correct quantity of copies. Thanks to Jiri
Popelka.

Files:
1 modified

Legend:

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

    r3474 r3567  
    139139                else : 
    140140                    notinteger = False 
    141                     if newpagenum == oldpagenum : 
     141                    if newpagenum <= oldpagenum : 
     142                        # Now correctly handles multiple copies when printed from MSOffice. 
     143                        # Thanks to Jiri Popelka for the fix. 
    142144                        proceed = False 
    143145                    else :