PPD-specific 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 supports nine methods that a user interface plug-in can call to access information in PPD files. Six of these methods are supported in the IPrintCorePS2 COM Interface. This section describes the PPD-specific behavior of these methods.

IPrintCoreUI2 Interface PPD Methods

IPrintCoreUI2::EnumConstrainedOptions

IPrintCoreUI2::EnumFeatures

IPrintCoreUI2::EnumOptions

IPrintCoreUI2::GetOptions

IPrintCoreUI2::GetFeatureAttribute

IPrintCoreUI2::GetGlobalAttribute

IPrintCoreUI2::GetOptionAttribute

IPrintCoreUI2::SetOptions

IPrintCoreUI2::WhyConstrained

IPrintCorePS2 Interface PPD Methods

IPrintCorePS2::EnumFeatures

IPrintCorePS2::EnumOptions

IPrintCorePS2::GetOptions

IPrintCorePS2::GetFeatureAttribute

IPrintCorePS2::GetGlobalAttribute

IPrintCorePS2::GetOptionAttribute

Throughout this section, a reference to any method that is a member of both interfaces applies to both methods. For example, a reference to GetOptions applies to IPrintCoreUI2::GetOptions as well as to IPrintCorePS2::GetOptions.

PPD Feature Availability

In this section, the phrase "PPD feature isn't currently available" means that either the printer doesn't support the feature, or the feature's non-None/False options are constrained by current installable option settings.

For example, "Duplex feature isn't currently available" means either the PPD doesn't specify the *Duplex feature keyword, or the *Duplex feature keyword's non-None options are currently constrained by the fact that the duplex unit isn't installed.