PRB: Unidrv4: Concealing Halftoning SuperCell from the UI

ID: Q232445


The information in this article applies to:
  • Microsoft Windows 2000 Driver Development Kit (DDK)
  • Microsoft Windows NT 4.0


SYMPTOMS

When installed on Microsoft Windows NT 4.0 Unidrv-based printer drivers, such as the HP LaserJet 5Si, show SuperCell as a UI option on the Document defaults property page when traversing from the Advanced and to the Halftoning tab. For Unidrv4, the GPD parser needs to conceal this option because Halftoning SuperCell is an unsupported feature on Windows NT 4.0.


RESOLUTION

As a workaround, OEMs should add preprocessor directives in their GPD files. As a result, this option will disappear from the UI when the driver is installed on Windows NT 4.0.

The GPDs, when modified with the preprocessor directive, can look like the following code sample:


*Feature: Halftone
{
    *rcNameID: 2110
    *DefaultOption: HT_PATSIZE_AUTO
    *Option: HT_PATSIZE_AUTO
    {
        *rcNameID: 2050
    }
*Ifdef:  WINNT_50
    *Option: HT_PATSIZE_SUPERCELL_M
    {
        *rcNameID: 2051
    }
*Endif:
    *Option: HT_PATSIZE_6x6_M
    {
        *rcNameID: 2052
    }
    *Option: HT_PATSIZE_8x8_M
    {
        *rcNameID: 2053
    }
} 

Additional query words:

Keywords : kbCmnDlgPrint kbDDK kbNTOS400 kbPrinting kbPropSheet kbGrpNTDDK
Version : winnt:4.0
Platform : winnt
Issue type : kbprb


Last Reviewed: September 14, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.