As far as the application is concerned everything is colour.
All the rendering takes place in RGB colour, and conversion to
the colorspace & colormodel of the printer happens in the driver.
If you want to query whether the printer is a color or b&w printer, or
specify the mode of the driver (ie ask a printer to use greyscale mode
rather than colour), then the next feature release (merlin aka 1.4)
will have APIs to do that.
-phil.
> Date: Mon, 20 Nov 2000 08:49:08 -0800
> From: "Luick, Jim" <[EMAIL PROTECTED]>
> Subject: [JAVA2D] Printer type
> To: [EMAIL PROTECTED]
>
> Does anyone know how to tell if the printer's Graphics2D object
> in the print() method of the Printable interface is color or
> black and white?
>
> I have tried getting information from the ColorModel (such as
> pixel size), but there appears to be no difference.
>
> Any suggestions would be appreciated!
>
> I am using 1.3 on NT.
>
> Thanks,
>
> Jim
>
>
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".