Share via


PosPrinter.SlpPrintSide Property

2/27/2008

Gets the side of the slip print station document on which printing will occur.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property SlpPrintSide As PrinterSide
public abstract PrinterSide SlpPrintSide { get; }
public:
virtual property PrinterSide SlpPrintSide {
    PrinterSide get () abstract;
}
/** @property */
public abstract PrinterSide get_SlpPrintSide ()
public abstract function get SlpPrintSide () : PrinterSide

Remarks

Possible values are defined by the PrinterSide enumeration. (SlpPrintSide cannot be set to PrinterSide.Opposite).

If the slip print station is not selected, SlpPrintSide is set to PrinterSide.Unknown.

If a printer can print on both sides, the CapSlpBothSidesPrint property is set to true. When the slip is inserted, SlpPrintSide will be either PrinterSide.Side1 or PrinterSide.Side2. SlpPrintSide may be changed when the ChangePrintSide method is executed.

If a printer cannot print on both sides, the CapSlpBothSidesPrint property is set to false. When a slip is inserted, SlpPrintSide is always set to PrinterSide.Side1.

If a printer can print on both sides, SlpPrintSide is PrinterSide.Side1 after the Begin/EndInsertion methods are executed. However, after the Begin/EndInsertion methods of MICR are executed, the value of SlpPrintSide is not limited to PrinterSide.Side1. In this case, SlpPrintSide indicates the validation print side.

SlpPrintSide is set and kept current by the service object while the device is enabled.

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.CapSlpBothSidesPrint Property
PosPrinter.BeginInsertion Method
PosPrinter.EndInsertion Method
PosPrinter.ChangePrintSide Method
PrinterSide