Changeset 298 for pkpgcounter

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

Added skeleton for the handling of the passthrough tag

Location:
pkpgcounter/trunk/pkpgpdls
Files:
2 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 
  • pkpgcounter/trunk/pkpgpdls/version.py

    r284 r298  
    2020# 
    2121 
    22 __version__ = "1.73" 
     22__version__ = "1.74alpha1" 
    2323 
    2424__doc__ = """pkpgcounter : a generic Page Description Languages parser."""