Bewerken

Delen via


Unidrv user interface

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.

The Unidrv user interface employs CPSUI to create the following property sheet pages:

  • The Device Settings page for the printer property sheet, which is displayed when a user selects the Properties menu item from the printer folder or a printer window. The page lists printer-specific configuration settings.

  • The Layout, Paper/Quality, and Advanced pages for the document property sheet, which are displayed when a user selects the Document Defaults menu item from the printer folder or a printer window, or when an application calls the PrinterProperties or DocumentProperties functions (described in the Microsoft Windows SDK documentation). The pages list document-specific configuration settings.

These property sheet pages contain the printer features and printer options specified by a printer's Unidrv minidriver. They also allow the user to modify option values.

The Unidrv user interface is implemented as a user-mode printer interface DLL. Code within this DLL, in conjunction with CPSUI, specifies the contents of the property sheet pages. The DLL enforces constraints on which printer options can be combined, based on information in the minidriver. It also ensures that users do not select options not installed on the printer.

You can modify the Unidrv-supplied property sheet pages by providing a user interface plug-in.