Share via


JobHistory element

The optional JobHistory element contains information about print jobs that have not yet completed processing.

JobHistory 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

<wrpt:JobHistory>
  child elements
</wrpt:JobHistory>

Attributes

There are no attributes.

Text value

None

Child elements

Element

Job

JobSummary

Parent elements

Element Description

JobTable

Contains current and historical information about print jobs.

Remarks

JobHistory optionally contains a subset of the most recent jobs that have finished processing. These jobs could have printed, been aborted, or failed for other reasons. The maximum number of jobs in this list depends on the device.

A client can ask for job history through the GetJobHistoryRequest operation. The WSD Print Service returns this history in GetPrinterElementsResponse.

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:JobHistory>
 <wprt:Job> data </wprt:Job>
 <wprt:JobSummary> data </wprt:JobSummary>
  ...
</wprt:JobHistory>

See also

GetPrinterElementsRequest

GetPrinterElementsResponse

Job

JobSummary

JobTable

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012