PosPrinterBase.CapJrnNearEndSensor Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Indicates whether the journal has a low-paper sensor.

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

Syntax

'Declaration
Public Overrides ReadOnly Property CapJrnNearEndSensor As Boolean
public override bool CapJrnNearEndSensor { get; }
public:
virtual property bool CapJrnNearEndSensor {
    bool get () override;
}
/** @property */
public boolean get_CapJrnNearEndSensor ()
public override function get CapJrnNearEndSensor () : boolean

Remarks

PosPrinterBase class verifies that the device has been opened, then retrieves the value of PosPrinterProperties.CapJrnNearEndSensor.

CapJrnNearEndSensor is initialized to false by the PosPrinterProperties class. The service object should update CapJrnNearEndSensor to an appropriate value in its Open method. If the service object sets CapJrnNearEndSensor to false, the PosPrinterBase class sets PosPrinterProperties.JrnNearEnd 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.CapJrnNearEndSensor Property