JobHistory element

The required JobHistory element contains a list of JobSummary elements describing the most recently completed jobs in the printer.

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

Attributes

There are no attributes.

Text value

None

Child elements

Element Description

JobSummary

Contains a summary for one currently active job in the printer.

Parent elements

Element Description

GetJobHistoryResponse

Returns a summary of job-related variables for previously completed jobs.

Remarks

The JobHistory element contains a JobSummary element for every job recently completed by the printer. JobHistory is empty if the WSD Print Service has no record of recently completed jobs. The Print Service returns this list from GetJobHistoryResponse.

The amount of history stored and returned by the WSD Print Service is implementation-specific.

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

See also

GetJobHistoryResponse

JobSummary

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012