IPrintOemPS 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 IPrintOemPS COM interface is the means by which the printer graphics DLL for Pscript5 communicates with a rendering plug-in. The IPrintOemPS interface is implemented by each rendering plug-in.

The following table lists and describes all of the methods provided by the IPrintOemPS interface. Rendering plug-ins must define all the listed methods. If a method isn't needed, it can return E_NOTIMPL.

Method Description
IPrintOemPS::Command Allows a rendering plug-in to insert Postscript commands into the print job's data stream.
IPrintOemPS::DevMode Performs operations on a rendering plug-in's private DEVMODEW members.
IPrintOemPS::DisableDriver Frees resources that were allocated by a rendering plug-in's IPrintOemPS::EnableDriver method.
IPrintOemPS::DisablePDEV Allows a rendering plug-in to delete the private PDEV structure that was allocated by its IPrintOemPS::EnablePDEV method.
IPrintOemPS::EnableDriver Allows a rendering plug-in to hook out some graphics DDI functions. This method and IPrintOemPS::DisableDriver must be considered as a pair; if one is implemented, the other must be implemented as well.
IPrintOemPS::EnablePDEV Allows a rendering plug-in to create its own PDEV structure.
IPrintOemPS::GetInfo (Implementation required.) Returns rendering plug-in identification information.
IPrintOemPS::PublishDriverInterface (Implementation required.) Supplies a pointer to the Pscript5 driver's IPrintOemDriverPS COM interface, IPrintCorePS2 COM interface, or IPrintCoreHelperPS interface
IPrintOemPS::ResetPDEV Allows a rendering plug-in to reset its PDEV structure.

For more information, see Implementing Printer Driver COM Interfaces.