Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides the primary method to access and validate a PrintTicket.
Inheritance
The IPrintSchemaTicket interface inherits from IPrintSchemaElement.
Methods
The IPrintSchemaTicket interface has these methods.
IPrintSchemaTicket::CommitAsync Gets an asynchronous PrintTicket commit operation context. |
IPrintSchemaTicket::get_JobCopiesAllDocuments Gets the copy count. |
IPrintSchemaTicket::GetCapabilities Gets an IPrintSchemaCapabilities object that represents the printer capabilities based on the current settings of this IPrintSchemaTicket object. |
IPrintSchemaTicket::GetFeature Gets a named feature from the PrintTicket, by name and full namespace URI. |
IPrintSchemaTicket::GetFeatureByKeyName Gets a feature from the PrintTicket based on the specified key name. |
IPrintSchemaTicket::NotifyXmlChanged Notifies the print system that the XML DOM object has changed. |
IPrintSchemaTicket::put_JobCopiesAllDocuments Sets the copy count. |
IPrintSchemaTicket::ValidateAsync Gets an asynchronous PrintTicket validation operation context. |
Remarks
For C++ clients, to obtain an IXMLDOMDocument2 object for the PrintTicket 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 PrintTicket object to access the underlying IXMLDOMDocument2 object.
For C# and JavaScript clients, use printerextension.h GetReadStream or GetWriteStream methods to access a IPrintSchemaElement XmlNode.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
Target Platform | Windows |
Header | printerextension.h (include Printerextension.h) |