StatusSummary element
The required StatusSummary element contains a summary of the printer's current status.
StatusSummary 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:StatusSummary>
child elements
</wprt:StatusSummary>
Attributes
There are no attributes.
Text value
None
Child elements
Element | Description |
---|---|
Identifies the current state of the WSD Print Service. |
|
Specifies the primary reason why the printer is in its current state. |
|
A list of PrinterStateReason elements that describes all of the reasons why the printer is in its current state. |
Parent elements
Element | Description |
---|---|
Informs the client that the printer's status has changed. |
Remarks
The WSD Print Service must include the StatusSummary element when it sends a PrinterStatusSummaryEvent element to update the client with the printer's current status. The PrinterState, PrinterStatePrimaryReason, and PrinterStateReasons elements must be included within StatusSummary to describe the printer's state and its reasons for being in that state.
An example of a change in printer status is that the printer has stopped because a paper tray is out of paper.
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:StatusSummary>
<wprt:PrinterState> data </wprt:PrinterState>
<wprt:PrinterStatePrimaryReason> data </wprt:PrinterStatePrimaryReason>
<wprt:PrinterStateReasons> data </wprt:PrinterStateReasons>
</wprt:StatusSummary>
See also
Send comments about this topic to Microsoft
Build date: 7/19/2012