Bewerken

Delen via


IPrintCoreUI2 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 IPrintCoreUI2 COM interface extends the IPrintOemDriverUI COM interface. In Windows XP and later, Pscript5 driver provides the IPrintCoreUI2 COM interface. The methods in this interface are for use only by Pscript5 UI plug-ins.

Method Description
IPrintCoreUI2::DrvGetDriverSetting Enables a UI plug-in to obtain the current status of printer features and other internal information.
IPrintCoreUI2::DrvUpdateUISetting Enables a UI plug-in to notify the driver of a modified user interface option.
IPrintCoreUI2::DrvUpgradeRegistrySetting Enables OEM plug-ins to upgrade private registry settings.
IPrintCoreUI2::EnumConstrainedOptions Determines which options of a feature are constrained.
IPrintCoreUI2::EnumFeatures Enumerates a printer's available features.
IPrintCoreUI2::EnumOptions Enumerates the available options of a specific feature.
IPrintCoreUI2::GetFeatureAttribute Retrieves the feature attribute list or the value of a specific feature attribute.
IPrintCoreUI2::GetGlobalAttribute Retrieves the global attribute list or the value of a specific global attribute.
IPrintCoreUI2::GetOptionAttribute Retrieves the option attribute list or the value of a specific option attribute.
IPrintCoreUI2::GetOptions Retrieves the driver's current feature settings in the format of a list of feature/option keyword pairs.
IPrintCoreUI2::QuerySimulationSupport Retrieves a spooler simulation capability structure, which indicates the kinds of simulation the spooler supports.
IPrintCoreUI2::SetOptions Sets the driver's feature settings.
IPrintCoreUI2::WhyConstrained Determines why the specified feature/option selection is constrained.

For more information, see Implementing Printer Driver COM Interfaces.