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

2/27/2008

Holds the width of a line for the number of characters indicated by the JrnLineChars property, expressed in the unit of measure indicated by the MapMode property.

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

Syntax

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

Remarks

PosPrinterBase class verifies that the device has been opened, claimed, and enabled, then retrieves the value of PosPrinterProperties.JrnLineWidth.

JrnLineWidth is initialized to 0 (zero) by the PosPrinterProperties class. The service object should update JrnLineWidth in its Open method to the printer’s default line character width.

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.JrnLineWidth Property