Share via


PosPrinter.RecEmpty Property

2/27/2008

Gets a Boolean value that indicates whether the receipt is out of paper.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property RecEmpty As Boolean
public abstract bool RecEmpty { get; }
public:
virtual property bool RecEmpty {
    bool get () abstract;
}
/** @property */
public abstract boolean get_RecEmpty ()
public abstract function get RecEmpty () : boolean

Remarks

If true, the receipt is out of paper. If the CapRecEmptySensor property is set to false, the value of RecEmpty is always set to false.

When RecEmpty is set to true by the service object, the service object queues a StatusUpdateEvent event by using the StatusReceiptEmpty constant, notifying the application of the condition. When the service object resets RecEmpty to false. This indicates that the condition has been resolved, it queues a second StatusUpdateEvent event by using the StatusReceiptPaperOK constant, notifying the application of the resolution.

RecEmpty 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.CapRecEmptySensor Property
RecNearEnd