IPrintSchemaCapabilities interface
Provides the primary method to access PrintCapabilities.
Members
The IPrintSchemaCapabilities interface inherits from IPrintSchemaElement. IPrintSchemaCapabilities also has these types of members:
Methods
The IPrintSchemaCapabilities interface has these methods.
| Method | Description |
|---|---|
| GetFeature |
Gets a named feature from the PrintCapabilities, by name and full namespace URI. |
| GetFeatureByKeyName |
Gets a feature from the PrintCapabilities based on a given key name. |
| GetOptions |
Gets all the options of a feature. |
| GetSelectedOptionInPrintTicket |
Gets the selected option for a feature in IPrintSchemaTicket. |
Properties
The IPrintSchemaCapabilities interface has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only |
Gets the JobCopiesAllDocuments parameter maximum value. | |
|
Read-only |
Gets the JobCopiesAllDocuments parameter minimum value. | |
|
Read-only |
Gets the imageable area information of the printer. |
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
|
Minimum supported client |
Windows 8 |
|---|---|
|
Minimum supported server |
Windows Server 2012 |
|
Header |
|
See also
- IPrintSchemaElement
- Developing v4 print drivers
- IPrintSchemaElement::XmlNode
- IPrintSchemaTicket
- IPrintSchemaTicket_GetCapabilities
- V4 Printer Driver Localization