FiscalPrinter.CoverOpen Property (POS for .NET v1.12 SDK Documentation)

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; otherwise, false.

If the CapCoverSensor property is false, the printer does not have a cover-open sensor, and CoverOpen always returns 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

FiscalPrinter Class
FiscalPrinter Members
Microsoft.PointOfService Namespace