IPrintSchemaCapabilities interface

Provides the primary method to access PrintCapabilities.

Methods

The IPrintSchemaCapabilities interface has these methods.

Method Description
IPrintSchemaCapabilities::get_JobCopiesAllDocumentsMaxValue Gets the JobCopiesAllDocuments parameter maximum value.
IPrintSchemaCapabilities::get_JobCopiesAllDocumentsMinValue Gets the JobCopiesAllDocuments parameter minimum value.
IPrintSchemaCapabilities::get_PageImageableSize Gets the imageable area information of the printer.
IPrintSchemaCapabilities::GetFeature Gets a named feature from the PrintCapabilities, by name and full namespace URI.
IPrintSchemaCapabilities::GetFeatureByKeyName Gets a feature from the PrintCapabilities based on a given key name.
IPrintSchemaCapabilities::GetOptions Gets all the options of a feature.
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

   
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header printerextension.h

See Also

Developing v4 print drivers

IPrintSchemaElement

IPrintSchemaElement::XmlNode

IPrintSchemaTicket

IPrintSchemaTicket_GetCapabilities

V4 Printer Driver Localization