How to set ColorMode with DDK driver

anonymous yliu0131 at brockport.edu
Thu Dec 16 10:11:02 PST 2004


I'm learning to use DDK to write printer drivers.

Started with HP Color Laser 5500. (I know there're already plenty of drivers 
available for this model)

In .drv file, how could I set color mode?

I tried to use the laserjet-basic.drv + the code segment found at color.drv

ColorDevice true
ColorModel Gray/Grayscale w chunky 0
*ColorModel RGB/Color rgb chunky 0

When I print test page, it gave me B/W print out.


I also tried to use the laserjet-basic.drv + the code segment found at 
r300-colorman.drv
ColorDevice true
ColorModel Gray/Grayscale w chunky 1
ColorMode Black k chunky 1
*ColorModel RGB/Color rgb chunky 1
ColorModel CMYK cmyk chunky 1

I selected RGB and CMYK but both gave me B/W print out.


Anybody knows how to set up color printing?
Thanks






More information about the cups-devel mailing list