Job element

The required Job element contains all elements associated with a print job.

Job 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:Job>
  child elements
</wprt:Job>

Attributes

There are no attributes.

Text value

None

Child elements

Element Description

Documents

Contains the list of documents to be printed in the current job.

JobStatus

Contains all information about the status of the current job.

PrintTicket

Defines all of the description and processing parameters of the currently identified job.

Xxx

Any IHV-defined elements

Parent elements

Element Description

ActiveJobs

Contains a list of all currently active jobs at the printer.

JobHistory

Contains information about print jobs that have not yet completed processing.

Remarks

A job can contain one or more documents. The WSD Print Service should use the job-level DocumentProcessing instructions as the default for every document in the job.

JobProcessing DocumentProcessing CreatePrintJobRequest SendDocumentRequest AddDocumentRequest

The WSD Print Service should populate the JobProcessing element and/or DocumentProcessing element of a job using the corresponding elements explicitly supplied by a client in a CreatePrintJobRequest element. If the client does not supply a processing element, this indicates that the client wants the Print Service to use its default value. Note that the client can override the default value by embedding a corresponding value directly within the PDL Data Stream in SendDocumentRequest/AddDocumentRequest. The printer's default and allowed values for processing elements are set in an implementation-specific manner, such as through the local console or the device's web server.

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:Job>
  <wprt:JobStatus> data </wprt:JobStatus>
  <wprt:PrintTicket> data </wprt:PrintTicket> 
  <wprt:Documents> data </wprt:Documents>
</wprt:Job>

See also

ActiveJobs

AddDocumentRequest

CreatePrintJobRequest

DocumentProcessing

Documents

JobHistory

JobProcessing

JobStatus

PrintTicket

SendDocumentRequest

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012