PosPrinterBase.CapJrnEmptySensor Property (POS for .NET v1.12 SDK Documentation)
2/27/2008
Indicates whether the journal has an out-of-paper sensor.
Namespace: Microsoft.PointOfService.BaseServiceObjects
Assembly: Microsoft.PointOfService.ControlBase (in microsoft.pointofservice.controlbase.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property CapJrnEmptySensor As Boolean
public override bool CapJrnEmptySensor { get; }
public:
virtual property bool CapJrnEmptySensor {
bool get () override;
}
/** @property */
public boolean get_CapJrnEmptySensor ()
public override function get CapJrnEmptySensor () : boolean
Remarks
PosPrinterBase class verifies that the device has been opened, then retrieves the value of PosPrinterProperties.CapJrnEmptySensor.
CapJrnEmptySensor is initialized to false by the PosPrinterProperties class. The service object should update CapJrnEmptySensor to an appropriate value in its Open method. If the service object sets CapJrnEmptySensor to false, the PosPrinterBase class sets the PosPrinterProperties.JrnEmpty property to false.
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
PosPrinterBase Class
PosPrinterBase Members
Microsoft.PointOfService.BaseServiceObjects Namespace
PosPrinter.CapJrnEmptySensor Property