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

2/27/2008

Holds a list of character set numbers supported for printing.

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

Syntax

'Declaration
Public Overrides ReadOnly Property CharacterSetList As Integer()
public override int[] CharacterSetList { get; }
public:
virtual property array<int>^ CharacterSetList {
    array<int>^ get () override;
}
/** @property */
public int[] get_CharacterSetList ()
public override function get CharacterSetList () : int[]

Remarks

PosPrinterBase class verifies that the device has been opened, then retrieves the value of PosPrinterProperties.CharacterSetList.

CharacterSetList is initialized to an empty integer array by the PosPrinterProperties class. The service object should set CharacterSetList to the character sets available for mapping in its Open method. If the service object attempts to set CharacterSetList to an empty array or null, or if any of the specified array values 0 (zero) or less than zero, PosPrinterProperties may throw PosControlException exceptions with the following values:

Value

Meaning

Illegal

The service object has set the CharacterSet property to a value that doesn't exist in the CharacterSetList array.

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