Share via


PrinterState element

The required PrinterState element identifies the current state of the WSD Print Service.

PrinterState 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:PrinterState>
  text
</wprt:PrinterState>

Attributes

There are no attributes.

Text value

Required. Must be one of the following string values:

Idle

New jobs can start processing immediately without waiting.

Processing

Jobs (tracked or untracked) are processing; new jobs will wait before processing; that is, the new jobs are pending.

Stopped

No jobs can be processed and intervention is needed.

Child elements

There are no child elements.

Parent elements

Element Description

PrinterStatus

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

StatusSummary

Contains a summary of the printer's current status.

Remarks

The WSD Print Service informs a client about changes to the printer's status by sending a PrinterStatusSummaryEvent event. A client can directly query the printer's state by calling the GetPrinterElementsRequest operation.

IHVs can both extend and subset the allowed values for this element.

See also

GetPrinterElementsRequest

PrinterStatus

PrinterStatusSummaryEvent

StatusSummary

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012