Setencoding Method - Citizen CT-D101 Series Programming Manual

Hide thumbs Also See for CT-D101 Series:
Table of Contents

Advertisement

3.3.15. SetEncoding method

Syntax
int SetEncoding (String charset)
Parameter
The meanings and settable values of the parameters are as follows.
Element
data
Description
This method is used to set the encoding of the send data to the display.
When you create an instance, it is initialized to the default character set of the OS.
When used in Japanese, it is necessary to specify the "Shift-JIS".
Return value
Return CMP_SUCCESS (0) in success. Please refer to
Example
// Japanese
display.SetEncoding( "Shift_JIS" );
// Chinese
display.SetEncoding( "GB18030" );
// Korean
display.SetEncoding( "EUC-KR" );
// Taiwanese
display.SetEncoding( "Big5" );
Meaning
Send data
CITIZEN UWP POS Print SDK - Programming Manual
Settable range
"3.3.1 Return
value"" for the error code except it.
92

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents