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/pcl345.py

    r452 r456  
    562562            oldduplexmode = duplexmode 
    563563            oldpapersize = papersize 
    564             copies = pjlcopies * page["copies"]         
     564            copies = max(pjlcopies, page["copies"]) # Was : pjlcopies * page["copies"] 
    565565            self.pagecount += (copies - 1) 
    566566            self.logdebug("%s*%s*%s*%s*%s*%s*BW" % (copies, \