Share via


PrinterStatusConditionEvent element

The required PrinterStatusConditionEvent element provides the client with detailed information about a single status change in the printer.

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

Attributes

There are no attributes.

Text value

None

Child elements

Element Description

DeviceCondition

Provides details about one of the printer's current conditions.

Parent elements

There are no parent elements.

Remarks

The WSD Print Service sends a PrinterStatusConditionEvent element to the client when a DeviceCondition element is added or changed in the ActiveCondition element table. The body of PrinterStatusConditionEvent contains the new or changed DeviceCondition 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:PrinterStatusConditionEvent>
 <wprt:DeviceCondition> data </wprt:DeviceCondition>
</wprt:PrinterStatusConditionEvent>

See also

ActiveCondition

DeviceCondition

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012