Louis Solomon [SteelBytes] wrote:
write your own driver. why is this? cause the only standard interface to a
printer under windows (ie, GDI) only handles rgb (and if anybody knows
otherwise, I'd really like to know about how)
It depends on the device drivers. A quick search in msdn turns up:
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/graphics/hh/graphics/printicm_04eda0f7-5f28-43e5-9cb3-3a0d6a385c8b.xml.asp>
| Display and Print Devices: Windows DDK
| Supporting CMYK Color Space
| [This is preliminary documentation and subject to change.]
|
| Regardless of whether color management is being handled by the application,
system, driver, or
| device, a printer graphics DLL must indicate whether it supports the CMYK
color space. This is
| done by setting the GCAPS_CMYKCOLOR flag in the DEVINFO structure. If this
flag is set and CMYK
| profiles are in use, then GDI sends CMYK color data, instead of RGB data, to
the printer graphics
| DLL for bitmaps, brushes, and pens. GDI also sets the following flags:
|
| * The BR_CMYKCOLOR flag in the flColorType member of the BRUSHOBJ
structure.
| * The XO_FROM_CMYK flag in the flXlate member of the XLATEOBJ structure.
|
| Note that if the driver supports CMYK color space, it must also support
halftoning. Thus if the
| driver sets the GCAPS_CMYKCOLOR flag in DEVINFO, it must also set
GCAPS_HALFTONE.
It might well be that no printer vendors have provided printer graphics DLLs
that support CMYK.
Graeme Gill.
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Lcms-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lcms-user