Print Ticket API Functions

The following functions are used to manage print tickets.

In this section

FunctionDescription

ConvertDevModeToPrintTicketThunk2

Converts a DEVMODE structure to a print ticket.

ConvertPrintTicketToDevModeThunk2

Converts a print ticket to a DEVMODE structure.

MergeAndValidatePrintTicketThunk2

Merges two print tickets and returns a valid, viable print ticket.

PTCloseProvider

Closes a print ticket provider handle.

PTConvertDevModeToPrintTicket

Converts a DEVMODE structure to a print ticket inside an IStream.

PTConvertPrintTicketToDevMode

Converts a print ticket into a DEVMODE structure.

PTGetPrintCapabilities

Retrieves the printer's capabilities formatted in compliance with the XML Print Schema.

PTGetPrintDeviceCapabilities

Retrieves the device printer's capabilities formatted in compliance with the XML Print Schema.

PTGetPrintDeviceResources

It retrieves the print devices resources for a printer formatted in compliance with the XML Print Schema.

PTMergeAndValidatePrintTicket

Merges two print tickets and returns a valid, viable print ticket.

PTOpenProvider

Opens an instance of a print ticket provider.

PTOpenProviderEx

Opens an instance of a print ticket provider.

PTQuerySchemaVersionSupport

Retrieves the highest (latest) version of the Print Schema that the specified printer supports.

PTReleaseMemory

Releases buffers associated with print tickets and print capabilities.

UnbindPTProviderThunk

Closes a handle to a print ticket provider.

 

 

 

Show: