Bewerken

Delen via


IPrintOemUI2 COM 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 IPrintOemUI2 COM interface extends the IPrintOemUI COM interface. In addition to all the methods in the IPrintOemUI interface, the IPrintOemUI2 interface provides the following methods.

Note  If you are using the Windows Vista version of the Unidrv and Pscript DLLs, you can implement the following methods in Unidrv or Pscript5 plug-ins that run on Windows XP and later versions of Windows operating systems. Previous versions of the DLLs support the IPrintOEM2::HideStandardUI method in Pscript5 plug-ins only.

Method Description
IPrintOemUI2::DocumentEvent Enables a UI plug-in to replace the core driver UI module's default implementation of the DrvDocumentEvent DDI.
IPrintOemUI2::HideStandardUI Enables a UI plug-in to specify whether the standard property sheets should be displayed or hidden.
IPrintOemUI2::QueryJobAttributes Enables a UI plug-in to post-process the core driver's results after a call to the DrvQueryJobAttributes DDI.

For more information, see Implementing Printer Driver COM Interfaces.