Share via


RemoteOrderDisplay.SelectCharacterSet Method

2/27/2008

Selects a compatible character set for the specified video unit(s).

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

Syntax

'Declaration
Public MustOverride Sub SelectCharacterSet ( _
    units As DeviceUnits, _
    characterSet As Integer _
)
public abstract void SelectCharacterSet (
    DeviceUnits units,
    int characterSet
)
public:
virtual void SelectCharacterSet (
    DeviceUnits units, 
    int characterSet
) abstract
public abstract void SelectCharacterSet (
    DeviceUnits units, 
    int characterSet
)
public abstract function SelectCharacterSet (
    units : DeviceUnits, 
    characterSet : int
)

Parameters

  • units
    The units to operate on.
  • characterSet
    The character set for displaying characters.

Remarks

The character set number is one of the following ranges or values:

Value

Description

Range 101 - 199

A device-specific character set that does not match a code page, or the ASCII or Windows ANSI character sets.

Range 400 - 990

Code page; matches one of the standard values.

Unicode

The character set supports UNICODE. The value of this constant is 997.

ASCII

The ASCII character set, supporting the ASCII characters between 20-hex and 7F-hex. The value of this constant is 998.

Windows

The Windows ANSI character set. The value of this constant is 999. This is exactly the same as the Windows code page 1252.

Range 1000 and higher

Windows code page; matches one of the standard values.

The CharacterSet property is updated for each video unit id that is successfully assigned a new character set.

SelectCharacterSet may cause a PosControlException to be thrown with the following ErrorCode:

Value

Description

Failure

An error occurred while communicating with one of the video units specified by units. The ErrorUnits and ErrorString properties are updated before return.

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

RemoteOrderDisplay Class
RemoteOrderDisplay Members
Microsoft.PointOfService Namespace
CapSelectCharacterSet
CharacterSet
ErrorString
ErrorUnits