Share via


PosPrinter.SlpMaxLines Property

2/27/2008

Gets the maximum number of lines that can be printed on a form.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property SlpMaxLines As Integer
public abstract int SlpMaxLines { get; }
public:
virtual property int SlpMaxLines {
    int get () abstract;
}
/** @property */
public abstract int get_SlpMaxLines ()
public abstract function get SlpMaxLines () : int

Remarks

When the CapSlpFullslip property is set to true, SlpMaxLines will be zero. This indicates an unlimited maximum slip length. When CapSlpFullslip is false, SlpMaxLines will be nonzero.

Changing the SlpLineHeight, SlpLineSpacing, or SlpLineChars properties may change SlpMaxLines.

The service object sets SlpMaxLines when the device is first enabled following the Open method.

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.CapSlpFullSlip Property
PosPrinter.SlpLineChars Property
PosPrinter.SlpLineHeight Property
PosPrinter.SlpLineSpacing Property