Share via


PosPrinterBase.SlpSidewaysMaxChars Property

2/27/2008

Holds the maximum number of characters that can be printed on each line in sideways mode.

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

Syntax

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

Remarks

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

SlpSidewaysMaxChars is initialized to 0 (zero) by the PosPrinterProperties class. The service object should update SlpSidewaysMaxChars 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.SlpSidewaysMaxChars Property