IPrintOemDriverUni 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 IPrintOemDriverUni COM interface provides a rendering plug-in with access to utility operations supplied by the printer graphics DLL for Unidrv. These operations send a data stream to the print spooler, and obtain driver-managed information.

The following table lists and describes all of the methods defined by the IPrintOemDriverUni interface.

Method Description
IPrintOemDriverUni::DrvGetDriverSetting Returns the current status of printer features and other internal information.
IPrintOemDriverUni::DrvGetGPDData Enables rendering plug-ins to obtain data defined in a printer's generic printer description (GPD) file.
IPrintOemDriverUni::DrvGetStandardVariable Enables rendering plug-ins to obtain the current value of Unidrv's standard variables.
IPrintOemDriverUni::DrvUniTextOut Enables a rendering plug-in using a device-managed drawing surface to easily output text strings.
IPrintOemDriverUni::DrvWriteAbortBuf Enables a rendering plug-in to reset a printer after a user has terminated a print job.
IPrintOemDriverUni::DrvWriteSpoolBuf Sends printer data to the spooler.
IPrintOemDriverUni::DrvXMoveTo Notifies Unidrv of cursor x-position changes.
IPrintOemDriverUni::DrvYMoveTo Notifies Unidrv of cursor y-position changes.

For more information, see Implementing Printer Driver COM Interfaces.