PRB: Unidrv4: Concealing Halftoning SuperCell from the UI (232445)



The information in this article applies to:

  • Microsoft Windows NT Server 4.0
  • Microsoft Windows NT Workstation 4.0
  • Microsoft Windows 2000 Driver Development Kit (DDK)
  • Microsoft Windows XP Driver Development Kit (DDK)

This article was previously published under Q232445

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
    }
}
				

Modification Type:MinorLast Reviewed:7/27/2004
Keywords:kbCmnDlgPrint kbprb kbprint kbPropSheet KB232445