Changeset 456 for pkpgcounter/trunk/pkpgpdls/pclxl.py
- Timestamp:
- 06/25/07 11:07:12 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/pclxl.py
r454 r456 190 190 try : 191 191 nbcopies = unpack(self.unpackShort, minfile[pos3-2:pos3])[0] 192 self.logdebug("Number of copies : %i" % nbcopies)192 # self.logdebug("Number of copies : %i" % nbcopies) 193 193 self.pages[self.pagecount]["copies"] = nbcopies 194 194 except KeyError : … … 651 651 oldduplexmode = duplexmode 652 652 oldpapersize = papersize 653 copies = pjlcopies * page["copies"]653 copies = max(pjlcopies, page["copies"]) # Was : pjlcopies * page["copies"] 654 654 self.pagecount += (copies - 1) 655 655 self.logdebug("%s*%s*%s*%s*%s*%s*%s" % (copies,