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

2/27/2008

Holds the print direction.

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

Syntax

'Declaration
Public Overrides Property PageModePrintDirection As PageModePrintDirection
public override PageModePrintDirection PageModePrintDirection { get; set; }
public:
virtual property PageModePrintDirection PageModePrintDirection {
    PageModePrintDirection get () override;
    void set (PageModePrintDirection value) override;
}
/** @property */
public PageModePrintDirection get_PageModePrintDirection ()

/** @property */
public void set_PageModePrintDirection (PageModePrintDirection value)
public override function get PageModePrintDirection () : PageModePrintDirection

public override function set PageModePrintDirection (value : PageModePrintDirection)

Property Value

A PageModePrintDirection value that indicates the print direction.

Remarks

This property holds the print direction. Valid values, as defined in the PageModePrintDirection enumeration, are listed below:

Value

Meaning

BottomToTop

Print bottom to top, starting at the bottom left position of the print area (that is, rotated left 90° printing).

LeftToRight

Print left to right, starting at top left position of the print area (that is, normal printing).

None

No valid station is selected.

RightToLeft

Print right to left, starting at the bottom right position of the print area (that is, upside down printing).

TopToBottom

Print top to bottom, starting at the top right position of the print area (that is, rotated right 90° printing.)

This property is initialized to LeftToRight when the device is first enabled following the open method.

Setting this property may also change PageModeHorizontalPosition and

PageModeVerticalPosition. Setting this property will have an effect on the current print area. By changing the print area, it is possible to generate a receipt or slip with text printed in multiple rotations.

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