Show
Ignore:
Timestamp:
12/07/05 09:39:04 (18 years ago)
Author:
jerome
Message:

Added skeleton for the handling of the passthrough tag

Files:
1 modified

Legend:

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

    r293 r298  
    265265        return 0     
    266266         
     267    def passThrough(self) :     
     268        """Passthrough mode, as detailed in PCLXL Feature Reference Protocol Class 3.0 Supplement.""" 
     269        # TODO : do something here to skip the block. 
     270        self.logdebug("PassThrough marker detected at %s" % self.pos) 
     271        return 0 
     272         
    267273    def escape(self) :     
    268274        """Handles the ESC code.""" 
     
    398404        self.tags[0xbd] = self.reservedForFutureUse # reserved 
    399405        self.tags[0xbe] = self.reservedForFutureUse # reserved 
     406         
     407        self.tags[0xbf] = self.passThrough # From PCLXL Feature Reference Protocol Class 3.0 Supplement 
    400408         
    401409        self.tags[0xc0] = 1 # ubyte