UNIDRV is doing differnt GrayScale conversions for Vector and Bitmap
Objects.

In grayscale printmodes, GDI renders these differently
Vector objects use Gray = (R+G+B)/3
Bitmap objects use ?
Likely an NTSC luminance weighting, i.e., Gray = 0.3 * R + 0.59 * G + 0.11 *
B

How Do I get UNIDRV to do a GrayScale conversion Like NTSC luminance
weighting for all objects?

Here the current GPD Settings for ColorMode:

*%====================================================================
*% ColorMode Feature
*%====================================================================

*Feature: ColorMode
{
*rcNameID: =COLOR_PRINTING_MODE_DISPLAY
*DefaultOption: Color24
*Option: Mono1
{
*rcNameID: =IDC_MONO_RADIO
*DevNumOfPlanes: 0
*DevBPP: 0
*DrvBPP: 8
*RasterMode: DIRECT
*IPCallbackID: 1
*Color? : FALSE
*Command: CmdSendBlockData { *Cmd: "" }
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: =""
}
}
*Option: Color24
{
*rcNameID: =IDC_COLOR_RADIO
*DevNumOfPlanes: 0
*DevBPP: 0
*DrvBPP: 24
*RasterMode: DIRECT
*IPCallbackID: 2
*Color? : TRUE
*Command: CmdSendBlockData { *Cmd: "" }
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: =""
}
}
}

Thank you,
Guy Light

RE: UNIDRV Grayscale Vector vs. DIB Conversion by bobbym

bobbym
Thu Apr 13 18:15:44 CDT 2006

------=_NextPart_0001_06ADE8FF
Content-Type: text/plain
Content-Transfer-Encoding: 7bit


Hi Guy,

You can implement your own halftoning by implementing
IPrintOemUni::ImageProcessing

Thank you,
Bobby Mattappally
Microsoft

This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
Reply-To: "Guy Light" <Guy.Light@newsgroups.nospam>
From: "Guy Light" <Guy.Light@newsgroups.nospam>
Subject: UNIDRV Grayscale Vector vs. DIB Conversion
Date: Tue, 11 Apr 2006 11:28:30 -0400
Lines: 60


UNIDRV is doing differnt GrayScale conversions for Vector and Bitmap
Objects.

In grayscale printmodes, GDI renders these differently
Vector objects use Gray = (R+G+B)/3
Bitmap objects use ?
Likely an NTSC luminance weighting, i.e., Gray = 0.3 * R + 0.59 * G + 0.11
*
B

How Do I get UNIDRV to do a GrayScale conversion Like NTSC luminance
weighting for all objects?

Here the current GPD Settings for ColorMode:

*%====================================================================
*% ColorMode Feature
*%====================================================================

*Feature: ColorMode
{
*rcNameID: =COLOR_PRINTING_MODE_DISPLAY
*DefaultOption: Color24
*Option: Mono1
{
*rcNameID: =IDC_MONO_RADIO
*DevNumOfPlanes: 0
*DevBPP: 0
*DrvBPP: 8
*RasterMode: DIRECT
*IPCallbackID: 1
*Color? : FALSE
*Command: CmdSendBlockData { *Cmd: "" }
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: =""
}
}
*Option: Color24
{
*rcNameID: =IDC_COLOR_RADIO
*DevNumOfPlanes: 0
*DevBPP: 0
*DrvBPP: 24
*RasterMode: DIRECT
*IPCallbackID: 2
*Color? : TRUE
*Command: CmdSendBlockData { *Cmd: "" }
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: =""
}
}
}

Thank you,
Guy Light



------=_NextPart_0001_06ADE8FF
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20
\par Hi Guy,
\par
\par You can implement your own halftoning by implementing IPrintOemUni::ImageProcessing
\par
\par Thank you,
\par Bobby Mattappally
\par Microsoft
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par
\par \pard\li720 --------------------
\par Reply-To: "Guy Light" <Guy.Light@newsgroups.nospam>
\par From: "Guy Light" <Guy.Light@newsgroups.nospam>
\par Subject: UNIDRV Grayscale Vector vs. DIB Conversion
\par Date: Tue, 11 Apr 2006 11:28:30 -0400
\par Lines: 60
\par
\par
\par UNIDRV is doing differnt GrayScale conversions for Vector and Bitmap
\par Objects.
\par
\par In grayscale printmodes, GDI renders these differently
\par Vector objects use Gray = (R+G+B)/3
\par Bitmap objects use ?
\par Likely an NTSC luminance weighting, i.e., Gray = 0.3 * R + 0.59 * G + 0.11 *
\par B
\par
\par How Do I get UNIDRV to do a GrayScale conversion Like NTSC luminance
\par weighting for all objects?
\par
\par Here the current GPD Settings for ColorMode:
\par
\par *%====================================================================
\par *% ColorMode Feature
\par *%====================================================================
\par
\par *Feature: ColorMode
\par \{
\par *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
\par *DefaultOption: Color24
\par *Option: Mono1
\par \{
\par *rcNameID: =IDC_MONO_RADIO
\par *DevNumOfPlanes: 0
\par *DevBPP: 0
\par *DrvBPP: 8
\par *RasterMode: DIRECT
\par *IPCallbackID: 1
\par *Color? : FALSE
\par *Command: CmdSendBlockData \{ *Cmd: "" \}
\par *Command: CmdSelect
\par \{
\par *Order: DOC_SETUP.10
\par *Cmd: =""
\par \}
\par \}
\par *Option: Color24
\par \{
\par *rcNameID: =IDC_COLOR_RADIO
\par *DevNumOfPlanes: 0
\par *DevBPP: 0
\par *DrvBPP: 24
\par *RasterMode: DIRECT
\par *IPCallbackID: 2
\par *Color? : TRUE
\par *Command: CmdSendBlockData \{ *Cmd: "" \}
\par *Command: CmdSelect
\par \{
\par *Order: DOC_SETUP.10
\par *Cmd: =""
\par \}
\par \}
\par \}
\par
\par Thank you,
\par Guy Light
\par
\par
\par \pard
\par
\par }
------=_NextPart_0001_06ADE8FF--


Re: UNIDRV Grayscale Vector vs. DIB Conversion by Guy

Guy
Mon Apr 17 08:53:33 CDT 2006

Bobby,

I'm doing that.

The issue is when I ask for Mono or Grayscale I'm specifing *DrvBPP: 8 and
something is doing the conversion from color to 8-bit grayscale. That
something is doing different things for Vector/Text and BMP data.

Can I specify *DrvBPP: 24 for Mono and do the conversion myself? Or does
UNIDRV step in?

Thank you,
Guy Light

"Bobby Mattappally [MS]" <bobbym@online.microsoft.com> wrote in message
news:5ZDZyA1XGHA.5296@TK2MSFTNGXA01.phx.gbl...
>
> Hi Guy,
>
> You can implement your own halftoning by implementing
> IPrintOemUni::ImageProcessing
>
> Thank you,
> Bobby Mattappally
> Microsoft
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
> --------------------
> Reply-To: "Guy Light" <Guy.Light@newsgroups.nospam>
> From: "Guy Light" <Guy.Light@newsgroups.nospam>
> Subject: UNIDRV Grayscale Vector vs. DIB Conversion
> Date: Tue, 11 Apr 2006 11:28:30 -0400
> Lines: 60
>
>
> UNIDRV is doing differnt GrayScale conversions for Vector and Bitmap
> Objects.
>
> In grayscale printmodes, GDI renders these differently
> Vector objects use Gray = (R+G+B)/3
> Bitmap objects use ?
> Likely an NTSC luminance weighting, i.e., Gray = 0.3 * R + 0.59 * G + 0.11
> *
> B
>
> How Do I get UNIDRV to do a GrayScale conversion Like NTSC luminance
> weighting for all objects?
>
> Here the current GPD Settings for ColorMode:
>
> *%====================================================================
> *% ColorMode Feature
> *%====================================================================
>
> *Feature: ColorMode
> {
> *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
> *DefaultOption: Color24
> *Option: Mono1
> {
> *rcNameID: =IDC_MONO_RADIO
> *DevNumOfPlanes: 0
> *DevBPP: 0
> *DrvBPP: 8
> *RasterMode: DIRECT
> *IPCallbackID: 1
> *Color? : FALSE
> *Command: CmdSendBlockData { *Cmd: "" }
> *Command: CmdSelect
> {
> *Order: DOC_SETUP.10
> *Cmd: =""
> }
> }
> *Option: Color24
> {
> *rcNameID: =IDC_COLOR_RADIO
> *DevNumOfPlanes: 0
> *DevBPP: 0
> *DrvBPP: 24
> *RasterMode: DIRECT
> *IPCallbackID: 2
> *Color? : TRUE
> *Command: CmdSendBlockData { *Cmd: "" }
> *Command: CmdSelect
> {
> *Order: DOC_SETUP.10
> *Cmd: =""
> }
> }
> }
>
> Thank you,
> Guy Light
>
>
>



Re: UNIDRV Grayscale Vector vs. DIB Conversion by bobbym

bobbym
Mon Apr 17 17:56:17 CDT 2006

------=_NextPart_0001_1B35A36E
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi Guy,
When you say vector/Text, are you talking HPGL2 or PCLXL mode?

If you Disable the "Print Optimization" in Advaced tab, do you get the
consistent results?


>Can I specify *DrvBPP: 24 for Mono and do the conversion myself? Or does
UNIDRV step in?

You can always do that as long you make sure you do the conversion on your
own.


Hope this helps.

Thank you,
Bobby Mattappally
Microsoft

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
Reply-To: "Guy Light" <Guy.Light@newsgroups.nospam>
From: "Guy Light" <Guy.Light@newsgroups.nospam>
References: <#4sZZyXXGHA.3560@TK2MSFTNGP04.phx.gbl>
<5ZDZyA1XGHA.5296@TK2MSFTNGXA01.phx.gbl>
Subject: Re: UNIDRV Grayscale Vector vs. DIB Conversion
Date: Mon, 17 Apr 2006 09:53:33 -0400

Bobby,

I'm doing that.

The issue is when I ask for Mono or Grayscale I'm specifing *DrvBPP: 8 and
something is doing the conversion from color to 8-bit grayscale. That
something is doing different things for Vector/Text and BMP data.



Can I specify *DrvBPP: 24 for Mono and do the conversion myself? Or does
UNIDRV step in?

Thank you,
Guy Light

------=_NextPart_0001_1B35A36E
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Hi Guy,
\par When you say vector/Text, are you talking HPGL2 or PCLXL mode?
\par
\par If you Disable the "Print Optimization" in Advaced tab, do you get the consistent results?
\par
\par
\par >Can I specify *DrvBPP: 24 for Mono and do the conversion myself? Or does
\par UNIDRV step in?
\par
\par You can always do that as long you make sure you do the conversion on your own.
\par
\par
\par Hope this helps.
\par
\par Thank you,
\par Bobby Mattappally
\par Microsoft
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par \pard\li720 --------------------
\par Reply-To: "Guy Light" <Guy.Light@newsgroups.nospam>
\par From: "Guy Light" <Guy.Light@newsgroups.nospam>
\par References: <#4sZZyXXGHA.3560@TK2MSFTNGP04.phx.gbl> <5ZDZyA1XGHA.5296@TK2MSFTNGXA01.phx.gbl>
\par Subject: Re: UNIDRV Grayscale Vector vs. DIB Conversion
\par Date: Mon, 17 Apr 2006 09:53:33 -0400
\par
\par Bobby,
\par
\par I'm doing that.
\par
\par The issue is when I ask for Mono or Grayscale I'm specifing *DrvBPP: 8 and
\par something is doing the conversion from color to 8-bit grayscale. That
\par something is doing different things for Vector/Text and BMP data.
\par
\par
\par
\par Can I specify *DrvBPP: 24 for Mono and do the conversion myself? Or does
\par UNIDRV step in?
\par
\par Thank you,
\par Guy Light
\par
\par
\par }
------=_NextPart_0001_1B35A36E--


Re: UNIDRV Grayscale Vector vs. DIB Conversion by Guy

Guy
Tue Apr 18 08:50:25 CDT 2006

Bobby,

In general we are finding UNIDRV is doing a (R+G+B)/3 conversion, but in
some instances the Vector/Text conversion is different than the Bitmap/DIB
(Can't make it happen now). We are not using PCLXL or HPGL2 gpd's or
*Personality.

I'm going to pursue the DrvBPP: 24 and do te converions myself and I should
be good.

Thank you for the help,
Guy.


"Bobby Mattappally [MS]" <bobbym@online.microsoft.com> wrote in message
news:i7UslInYGHA.888@TK2MSFTNGXA01.phx.gbl...
> Hi Guy,
> When you say vector/Text, are you talking HPGL2 or PCLXL mode?
>
> If you Disable the "Print Optimization" in Advaced tab, do you get the
> consistent results?
>
>
>>Can I specify *DrvBPP: 24 for Mono and do the conversion myself? Or does
> UNIDRV step in?
>
> You can always do that as long you make sure you do the conversion on your
> own.
>
>
> Hope this helps.
>
> Thank you,
> Bobby Mattappally
> Microsoft
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> --------------------
> Reply-To: "Guy Light" <Guy.Light@newsgroups.nospam>
> From: "Guy Light" <Guy.Light@newsgroups.nospam>
> References: <#4sZZyXXGHA.3560@TK2MSFTNGP04.phx.gbl>
> <5ZDZyA1XGHA.5296@TK2MSFTNGXA01.phx.gbl>
> Subject: Re: UNIDRV Grayscale Vector vs. DIB Conversion
> Date: Mon, 17 Apr 2006 09:53:33 -0400
>
> Bobby,
>
> I'm doing that.
>
> The issue is when I ask for Mono or Grayscale I'm specifing *DrvBPP: 8 and
> something is doing the conversion from color to 8-bit grayscale. That
> something is doing different things for Vector/Text and BMP data.
>
>
>
> Can I specify *DrvBPP: 24 for Mono and do the conversion myself? Or does
> UNIDRV step in?
>
> Thank you,
> Guy Light
>