Share via


PosPrinter.JrnEmpty Property

2/27/2008

Gets or sets a Boolean value that indicates whether the journal is out of paper.

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

Syntax

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

Remarks

whether If set to true, the journal is out of paper.

If the CapJrnEmptySensor property is set to false, the value of JrnEmpty is always set to false.

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

JrnEmpty 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.CapJrnEmptySensor Property
JrnNearEnd