IsDoorOpened Property
Collapse the table of content
Expand the table of content

PrintQueue.IsDoorOpened Property


Gets a value that indicates whether a door is open on the printer.

Namespace:   System.Printing
Assembly:  System.Printing (in System.Printing.dll)

member IsDoorOpened : bool with get

Property Value

Type: System.Boolean

true if a door is open; otherwise, false.

If the printer does not support a signal with this meaning, then the property is always false.

The following example shows how to use this property as part of a survey all printers for possible error status.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft