Share via


PosPrinter.SlpNearEnd Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets a Boolean value that indicates whether the slip form is near its end.

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

Syntax

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

Remarks

If true, the slip form is near its end. The "near end" sensor is also also known as the "trailing edge" sensor, referring to the bottom edge of the slip.

When SlpNearEnd is set to true by the service object, it queues a StatusUpdateEvent event by using the StatusSlipNearEnd constant, notifying the application of the condition. When the service object resets StatusSlpNearEnd to FALSE. This indicates that the condition has been resolved, it queues a second StatusUpdateEvent event by using the StatusSlipOK constant, notifying the application of the resolution.

If the CapSlpNearEndSensor property is set to false, then SlpNearEnd is always set to FALSE.

SlpNearEnd is set and kept current by the service object while the device is enabled.

Note

The "slip empty" sensor should be primarily used to determine whether a form has been inserted before printing. It can be monitored to determine whether a form is still available. This sensor is usually put one or more print lines above the slip print head. However, the "slip near end" sensor (when present) should be used to determine when nearing the end of the slip. This sensor is usually put one or more print lines below the slip print head.

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.CapSlpNearEndSensor Property
PosPrinter.SlpEmpty Property
PosPrinter.SlpLinesNearEndToEnd Property