[cups.development] filter: grayscale or color

Michael Sweet mike at easysw.com
Sat Nov 18 05:22:24 PST 2006


Jan Engelhardt wrote:
> Hello,
> 
> 
> is there a way for a filter to find out whether the end result that is 
> going to be sent to the backend will be grayscale or color?
 > ...

The Adobe ColorModel option and ColorDevice attribute can be used,
however Foomatic drivers don't follow the standard and use other
other option names.

You're probably better off defining a list of options and choices that
override the default color mode of a printer, e.g. default to the
ColorDevice true/false value and then update the color state based on
option selections.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com




More information about the cups mailing list