Share via


ConditionHistory element

The optional ConditionHistory element is a collection of ConditionHistoryEntry elements that provide details about recent conditions and errors on the printer.

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

Attributes

There are no attributes.

Text value

None

Child elements

Element Description

ConditionHistoryEntry

Provides details about one of the past conditions on the printer.

Parent elements

Element Description

PrinterStatus

Contains the current status of printer-related information that is controlled by automata.

Remarks

A client can query the printer's ConditionHistory element by calling the GetPrinterElementsRequest operation.

The conditions can vary in severity from Informational to Critical.

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:ConditionHistory>
 <wprt:ConditionHistoryEntry> data </wprt:ConditionHistoryEntry>
  ...
</wprt:ConditionHistory>

See also

ConditionHistoryEntry

GetPrinterElementsRequest

PrinterStatus

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012