Share via


PosPrinter.PageModeStation Property

2/27/2008

Gets or sets the printer station, as specified by the PrinterStation enumeration.

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

Syntax

'Declaration
Public Overridable Property PageModeStation As PrinterStation
public virtual PrinterStation PageModeStation { get; set; }
public:
virtual property PrinterStation PageModeStation {
    PrinterStation get ();
    void set (PrinterStation value);
}
/** @property */
public PrinterStation get_PageModeStation ()

/** @property */
public void set_PageModeStation (PrinterStation value)
public function get PageModeStation () : PrinterStation

public function set PageModeStation (value : PrinterStation)

Remarks

Valid values are as follows:

Member

Description

None

The current printer station is undefined.

Receipt

The current printer station is Receipt.

Slip

The current printer station is Slip.

Setting PageModeStation may throw a PosControlException with the following ErrorCode:

Value

Meaning

Illegal

The specified printer station is invalid: it can only be set to Receipt, Slip, or None. Or, the specified printer station does not exist for the printer.

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