Share via


PrintTicket element

The required PrintTicket element defines all of the description and processing parameters of the currently identified job.

PrintTicket is defined in the namespace at this URI: https://schemas.microsoft.com/windows/2006/08/wdp/print and referenced by the prefix wprt. (This resource may not be available in some languages and countries.)

Usage

<wprt:PrintTicket>
  child elements
</wprt:PrintTicket>

Attributes

There are no attributes.

Text value

None

Child elements

Element Description

DocumentProcessing

Specifies the processing attributes to be applied against the job at a document level.

JobDescription

Contains general job information.

JobProcessing

Defines all the requested processing attributes that are applicable at a job level.

Xxx

Any IHV-defined elements

Parent elements

Element Description

CreatePrintJobRequest

Sends a job request to the printer.

GetJobElementsResponse

Returns the job-related variables for a specified job to the client.

Remarks

The client constructs the PrintTicket element using values that the printer supports. The client obtains such values by calling GetPrinterElementsRequest and asking for the printer's DefaultPrintTicket element.

The printer receives a PrintTicket element in the client's call to CreatePrintJobRequest when the client is requesting a new job.

The client can request the PrintTicket element for a particular job by calling GetJobElementsRequest.

The following syntax block shows that you must also prefix the names of the child elements with the appropriate namespace (in this case wprt), to be certain that you are referencing child elements in the correct namespace.

<wprt:PrintTicket>
 <wprt:JobDescription> data </wprt:JobDescription>
 <wprt:JobProcessing> data </wprt:JobProcessing>
  ...
</wprt:PrintTicket>

See also

CreatePrintJobRequest

DefaultPrintTicket

DocumentProcessing

GetJobElementsRequest

GetPrinterElementsRequest

JobDescription

JobProcessing

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012