[cups.general] Raster data for Pure black text printing

Michael R Sweet msweet at apple.com
Wed Dec 31 05:29:53 PST 2008


(You'll get a lot more help for Ghostscript-related questions from
the ghostscript-devel list...)

shermin wrote:
> Hi, cupsColorSpace in ppd file is mentioned as CMYK and if i code
> walk through the pstoraster source,i came to know that the
> cups_map_rgb(Map a RGB color value to device colors) is called first
> which inturn calls cups_map_cmyk().Why cups_map_rgb() is called
> first??

PostScript offers several operators for setting the color; some go
through cups_map_rgb and others through cups_map_cmyk.  The latter
function does the actual encoding of the color value to limit the
amount of duplicated code.

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups mailing list