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

2/27/2008

Holds the maximum number of lines that can be printed in sideways mode.

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

Syntax

'Declaration
Public Overrides ReadOnly Property SlpSidewaysMaxLines As Integer
public override int SlpSidewaysMaxLines { get; }
public:
virtual property int SlpSidewaysMaxLines {
    int get () override;
}
/** @property */
public int get_SlpSidewaysMaxLines ()
public override function get SlpSidewaysMaxLines () : int

Remarks

PosPrinterBase class verifies that the device has been opened, claimed, and enabled, then retrieves the value of PosPrinterProperties.SlpSidewaysMaxLines. If the values of CapRecLeft90 and CapRecRight90 are 0 (zero), SlpSidewaysMaxLines returns 0 (zero).

SlpSidewaysMaxLines is initialized to 0 (zero) by the PosPrinterProperties class. The service object should update SlpSidewaysMaxLines to an appropriate value in its 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

PosPrinterBase Class
PosPrinterBase Members
Microsoft.PointOfService.BaseServiceObjects Namespace
PosPrinter.SlpSidewaysMaxLines Property