Hello printer driver gurus,

I am currently working on a virtual CGM printer driver using
the msplot example as reference. Since CGM is a device independent
format it can handle RGB 24bits (8bits per value). To which value
should I set the ulHTOutputFormat field of the GDIINFO structure?
The msplot example shows that it is set to HT_FORMAT_4BPP, why?

Thanks in advance,

Theo Landman

RE: halftone settings in GDIINFO by ashwinn

ashwinn
Tue Jul 20 19:41:01 CDT 2004

The sample likely sets ulHTOutputFormat because it supports only HT_FORMAT_8BPP or a 8bpp palette. You should set it to whatever your device supports.

--
- Ashwin

Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.



"Theo Landman" wrote:

> Hello printer driver gurus,
>
> I am currently working on a virtual CGM printer driver using
> the msplot example as reference. Since CGM is a device independent
> format it can handle RGB 24bits (8bits per value). To which value
> should I set the ulHTOutputFormat field of the GDIINFO structure?
> The msplot example shows that it is set to HT_FORMAT_4BPP, why?
>
> Thanks in advance,
>
> Theo Landman
>

Re: halftone settings in GDIINFO by Theo

Theo
Wed Jul 21 01:14:29 CDT 2004

Thanks for the info. So I can just set it to HT_FORMAT_24BPP?

Theo

Ashwin [MS] wrote:
> The sample likely sets ulHTOutputFormat because it supports only HT_FORMAT_8BPP or a 8bpp palette. You should set it to whatever your device supports.
>

Re: halftone settings in GDIINFO by ashwinn

ashwinn
Fri Jul 23 12:44:04 CDT 2004

As long as your device supports it, I don't see any reason for you not being able to set it in GDIINFO.

--
- Ashwin

Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.



"Theo Landman" wrote:

> Thanks for the info. So I can just set it to HT_FORMAT_24BPP?
>
> Theo
>
> Ashwin [MS] wrote:
> > The sample likely sets ulHTOutputFormat because it supports only HT_FORMAT_8BPP or a 8bpp palette. You should set it to whatever your device supports.
> >
>