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

2/27/2008

Holds the default character set capability.

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

Syntax

'Declaration
Public Overrides ReadOnly Property CapCharacterSet As CharacterSetCapability
public override CharacterSetCapability CapCharacterSet { get; }
public:
virtual property CharacterSetCapability CapCharacterSet {
    CharacterSetCapability get () override;
}
/** @property */
public CharacterSetCapability get_CapCharacterSet ()
public override function get CapCharacterSet () : CharacterSetCapability

Remarks

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

CapCharacterSet is initialized to CharacterSetCapability.Alpha by the PosPrinterProperties class. The service object should update CapCharacterSet to an appropriate value in its Open method. The PosPrinterProperties class may throw PosControlException exceptions with the following values:

Value

Meaning

Illegal

The service object has set the CapCharacterSet property to an invalid CharacterSetCapability value.

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