Export (0) Print
Expand All
Expand Minimize

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft