IPrintSchemaCapabilities interface

Provides the primary method to access PrintCapabilities.

Methods

The IPrintSchemaCapabilities interface has these methods.

Method Description
printerextension.IPrintSchemaCapabilities.GetFeature Gets a named feature from the PrintCapabilities, by name and full namespace URI.
printerextension.IPrintSchemaCapabilities.GetFeatureByKeyName Gets a feature from the PrintCapabilities based on a given key name.
printerextension.IPrintSchemaCapabilities.GetOptions Gets all the options of a feature.
printerextension.IPrintSchemaCapabilities.GetSelectedOptionInPrintTicket Gets the selected option for a feature in IPrintSchemaTicket.

Remarks

To obtain an IXMLDOMDocument2 object for the PrintCapabilities object, you must first dereference the ppXmlNode parameter of the XmlNode property (using *ppXmlNode ). This retrieves a pointer to an interface of type IUnknown. Use this pointer to call the QueryInterface method of the PrintCapabilities object to access the underlying IXMLDOMDocument2 object.

Requirements

   
Windows Driver kit version
Target platform Windows
Minimum UMDF version
Header printerextension.h
DLL
## See Also

    <dl>

IPrintSchemaElement
Developing v4 print drivers
IPrintSchemaElement::XmlNode
IPrintSchemaTicket
IPrintSchemaTicket_GetCapabilities
V4 Printer Driver Localization

Send comments about this topic to Microsoft