Bewerken

Delen via


IPrintOemPS2 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 IPrintOemPS2 COM interface contains all the methods of, and extends the capabilities of the IPrintOemPS COM Interface. This interface is limited to Pscript5 rendering plug-ins that run on Windows XP and later versions of Windows operating system.

The following table lists and describes all of the methods provided by the IPrintOemPS2 interface. Rendering plug-ins must define all the listed methods. If a method is not needed, it can simply return E_NOTIMPL.

Method Description
IPrintOemPS2::GetPDEVAdjustment Enables a plug-in to override specific PDEV settings.
IPrintOemPS2::WritePrinter Enables a plug-in to capture all output data generated by a Postscript driver.

For more information, see Implementing Printer Driver COM Interfaces.