PrintQueue.IsInError Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value that indicates whether the printer or device is in an error condition.

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

member IsInError : bool with get

Property Value

Type: System.Boolean

true if the device is in an error condition; 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
Show: