Changeset 3495 for pkpgcounter/trunk/pkpgpdls
- Timestamp:
- 03/16/09 11:32:09 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/pcl345.py
r3474 r3495 193 193 #self.logdebug("AMP") 194 194 self.handleTag(self.escamptags) 195 196 def escDollar(self) : 197 """Handles the ESC$ sequence.""" 198 #self.logdebug("DOLLAR") 199 self.handleTag(self.escdollartags) 195 200 196 201 def escStar(self) : … … 364 369 if codop != self.imagerunnermarker2 : 365 370 self.pos += length 366 self.logdebug("IMAGERUNNERTAG SKIP %i AT %08x" % (self.pos-oldpos, self.pos)) 371 self.logdebug("ImageRunner tag : Skip %i bytes from 0x%08x to 0x%08x" % (self.pos-oldpos, 372 oldpos, 373 self.pos)) 367 374 else : 368 375 self.pos -= 1 # Adjust position … … 416 423 self.esctags[ord('%')] = self.escPercent 417 424 self.esctags[ord('*')] = self.escStar 425 self.esctags[ord('$')] = self.escDollar 418 426 self.esctags[ord('&')] = self.escAmp 419 427 self.esctags[ord('(')] = self.escLeftPar … … 441 449 self.escstartags[ord('m')] = self.escSkipSomethingW 442 450 self.escstartags[ord('v')] = self.escSkipSomethingW 451 452 self.escdollartags = [ lambda : None ] * 256 453 self.escdollartags[ord('b')] = self.escSkipSomethingW 443 454 444 455 self.escleftpartags = [ lambda : None ] * 256 … … 483 494 self.logdebug("IsImageRunner : \t\t\t%s" % self.isimagerunner) 484 495 496 # if self.isimagerunner : 497 # self.logdebug("Adjusting PageCount : +1") 498 # self.pagecount += 1 # ImageRunner adjustment 485 499 if self.isimagerunner : 486 self.logdebug("Adjusting PageCount : +1")487 self.pagecount += 1 # ImageRunner adjustment500 self.logdebug("Adjusting PageCount : -1") 501 self.pagecount -= 1 # ImageRunner adjustment 488 502 elif self.linesperpage is not None : 489 503 self.logdebug("Adjusting PageCount : +1")