Device-Supplied Halftoning
Important
The modern print platform is Windows' preferred means of communicating with printers. We recommend that you use Microsoft's IPP inbox class driver, along with Print Support Apps (PSA), to customize the print experience in Windows 10 and 11 for printer device development.
For more information, see Modern print platform and the Print support app design guide.
If your printer provides halftoning capabilities internally, your minidriver must specify the commands that Unidrv sends to the printer to activate these capabilities. For each halftoning option that is printer-supported, your GPD file's Halftone *Feature entry must include *Command entries for each device-supplied halftoning option, as follows:
*Feature: Halftone
{
*Option: CustomHalftoneMethod1
{
*Name: "Custom Halftone Method 1"
*Command: CmdSelect: "<printer command string>"
}
*Option: CustomHalftoneMethod2
{
*Name: "Custom Halftone Method 2"
*Command: CmdSelect: "<printer command string>"
}
}
ColorMode feature entries must also be specified, and they must include *DevBPP and *DevNumOfPlanes entries describing the input formats expected by the printer.