Bewerken

Delen via


IPrintCorePS2 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 IPrintCorePS2 COM interface provides a set of helper methods for Pscript5 render plug-ins. The following table lists and describes all of the methods defined by the IPrintCorePS2 interface.

Method Description
IPrintCorePS2::DrvWriteSpoolBuf> Is provided by the Pscript5 driver so that [rendering plug-ins] can send printer data to the spooler.
IPrintCorePS2::EnumFeatures Enumerates a printer's available features.
IPrintCorePS2::EnumOptions Enumerates the available options of a specific feature.
IPrintCorePS2::GetFeatureAttribute Retrieves the feature attribute list or the value of a specific feature attribute.
IPrintCorePS2::GetGlobalAttribute Retrieves the global attribute list or the value of a specific global attribute.
IPrintCorePS2::GetOptionAttribute Retrieves the option attribute list or the value of a specific option attribute.
IPrintCorePS2::GetOptions Retrieves the driver's current feature settings in the format of a list of feature/option keyword pairs.

For more information, see Implementing Printer Driver COM Interfaces.