Is my TPrinter colour or mono?

The message <>
  from  "Jon" <> contains these words:

> Hi
> I have Delphi 3 and use TPrinter to print a report. I would like to know if
> the selected printer is Colour or Monochrome, as I'd like to avoid using red
> backgrounds on b&w printers.
> Is there a way of finding out?
> If so, please help!
> Thanks
> --
> Best Regards
> Jon


try BitsPerPixel:= GetDeviceCaps(Printer.handle,BITSPIXEL)

from the Win32 functions.

if BitsPerPixel turns out to be 1 then the printer is monochrome.

regards Andreas Kyriacou