Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |
|---|---|
|
Specifies a job's final job state. |
|
|
A collection of all additional information about how and why a job completed. |
|
|
Uniquely identifies a job on a printer. |
|
|
Specifies the user-friendly name of the job submitted by a client. |
|
|
Specifies the name of the user who submitted the print job. |
|
|
Specifies the total amount of document content that has been processed by the printer. |
|
|
Specifies the number of media sheets the printer has completed and stacked for the job so far. |
|
|
Specifies the number of documents in the current job. |
|
Xxx |
Any IHV-defined elements |
Parent elements
| Element | Description |
|---|---|
|
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
Send comments about this topic to Microsoft
Build date: 7/19/2012