Expand Minimize

IPrintSchemaTicket interface

Provides the primary method to access and validate a PrintTicket.

Members

The IPrintSchemaTicket interface inherits from IPrintSchemaElement. IPrintSchemaTicket also has these types of members:

Methods

The IPrintSchemaTicket interface has these methods.

MethodDescription
CommitAsync

Gets an asynchronous PrintTicket commit operation context.

GetCapabilities

Gets an IPrintSchemaCapabilities object that represents the printer capabilities based on the current settings of this IPrintSchemaTicket object.

GetFeature

Gets a named feature from the PrintTicket, by name and full namespace URI.

GetFeatureByKeyName

Gets a feature from the PrintTicket based on the specified key name.

NotifyXmlChanged

Notifies the print system that the XML DOM object has changed.

ValidateAsync

Gets an asynchronous PrintTicket validation operation context.

 

Properties

The IPrintSchemaTicket interface has these properties.

PropertyAccess typeDescription

JobCopiesAllDocuments

Read-only

Gets the copy count.

JobCopiesAllDocuments

Write-only

Sets the copy count.

 

Remarks

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Printerextension.h

See also

IPrintSchemaAsyncOperationEvent::Completed
IPrintSchemaCapabilities
IPrintSchemaElement::XmlNode

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft