Show
Ignore:
Timestamp:
12/10/06 19:23:44 (17 years ago)
Author:
jerome
Message:

Added support for pkpgcounter v2.13's GC pseudo-colorspace.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/accounters/ink.py

    r3046 r3122  
    3333                        "RGB" : { "R" : "red", "G" : "green", "B" : "blue" } , 
    3434                        "BW" : { "B" : "black", "W" : "white" } , 
     35                        "GC" : { "G" : "grayscale", "C" : "colored" } , 
    3536                     } 
    3637    def computeJobSize(self) :     
     
    5051        (colorspace, resolution) = parameters 
    5152        colorspace = colorspace.lower() 
    52         if colorspace not in ("cmyk", "bw", "cmy", "rgb") : 
     53        if colorspace not in ("cmyk", "bw", "cmy", "rgb", "gc") : 
    5354            raise PyKotaAccounterError, "Invalid parameters for ink accounter : [%s]" % self.arguments 
    5455