JobEndState element

The required JobEndState element describes the end state of the current job.

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

Usage

<wprt:JobEndState>
  child elements
</wprt:JobEndState>

Attributes

There are no attributes.

Text value

None

Child elements

Element Description

JobCompletedState

Specifies a job's final job state.

JobCompletedStateReasons

A collection of all additional information about how and why a job completed.

JobId

Uniquely identifies a job on a printer.

JobName

Specifies the user-friendly name of the job submitted by a client.

JobOriginatingUserName

Specifies the name of the user who submitted the print job.

KOctetsProcessed

Specifies the total amount of document content that has been processed by the printer.

MediaSheetsCompleted

Specifies the number of media sheets the printer has completed and stacked for the job so far.

NumberOfDocuments

Specifies the number of documents in the current job.

Xxx

Any IHV-defined elements

Parent elements

Element Description

JobEndStateEvent

Informs the client that the printer has finished processing a job.

Remarks

The JobEndState element contains child elements that describe various aspects about the end state of a job. The WSD Print Service returns a JobEndState element in the JobEndStateEvent element.

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 your name references apply to child elements in the correct namespace.

<wprt:JobEndState>
 <wprt:JobId> data </wprt:JobId>
 <wprt:JobCompletedState> data </wprt:JobCompletedState>
 <wprt:JobCompletedStateReasons> data </wprt:JobCompletedStateReasons>
  ...
</wprt:JobEndState>

See also

JobCompletedState

JobCompletedStateReasons

JobEndStateEvent

JobId

JobName

JobOriginatingUserName

KOctetsProcessed

MediaSheetsCompleted

NumberOfDocuments

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012