Show
Ignore:
Timestamp:
06/25/07 11:07:12 (17 years ago)
Author:
jerome
Message:

Fixed handling of number of copies as defined through PJL statements.

Files:
1 modified

Legend:

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

    r443 r456  
    286286            oldduplexmode = duplexmode 
    287287            oldpapersize = papersize 
    288             copies = pjlcopies * page["copies"] 
     288            copies = max(pjlcopies, page["copies"]) # Was : pjlcopies * page["copies"] 
    289289            self.pagecount += (copies - 1) 
    290290            self.logdebug("%s*%s*%s*%s" % (copies,