PosPrinter.CoverOpen Property
2/27/2008
Gets a Boolean value that indicates whether the printer’s cover is open.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property CoverOpen As Boolean
public abstract bool CoverOpen { get; }
public:
virtual property bool CoverOpen {
bool get () abstract;
}
/** @property */
public abstract boolean get_CoverOpen ()
public abstract function get CoverOpen () : boolean
Remarks
If true, the printer’s cover is open.
If the CapCoverSensor property is set to FALSE, the printer does not have a cover-open sensor, and CoverOpen is always set to FALSE.
CoverOpen is set and kept current by the service object while the device is enabled.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.
See Also
Reference
PosPrinter Class
PosPrinter Members
Microsoft.PointOfService Namespace
PosPrinter.CapCoverSensor Property