89
57.1 ESC+RG Multiple Language Font
Valid range and
term of
command
When the power switch is OFF
The set parameter is not maintained.
The parameter preset will be invalid.
The parameter preset will be invalid.
[Function]
Specify font type (Arabic or Thai), character set, font style, font size and print data.
[Format]
<RG>a,b,c,ddd,eee,n~n
●Parameter
a[Input character code] = 0 : UNICODE(UTF-8)
1 : UNICODE(UTF-16)
b[Character set] = 2 : AR Hebe Sans Thai
13 : AR Roman Arabic
c[Font style] = 0 : [Standard]
1 : [Bold]
2 : [Italic]
3 : [Bold+Italic]
d[Horizontal size] = Valid range : 020 to 999 (dots)
Valid range : P09 to P99 (point specification)
e[Vertical size] = Valid range : 020 to 999 (dots)
Valid range : P09 to P99 (point specification)
n[Print data] = Data
[Coding Example] Italic printing of Thai by UTF-8 specification, horizontal size: P10, vertical size: P10
* <~>
16
means the byte specification (in the example below, E0B895=3 bytes)
<A>
<V>100<H>100<P>2
<RG>0,2,2,P10,P10,<E0B895E0B989E0B8A1E0B8A2E0B8B3E0B881E0B8B8E0B989E0B887>16
<Q>2
<Z>
[Notes]
1. Set the font size by "dot specification" or "point specification."
2. Dot size differs according to the head density (refer to the list below)
3. 1 point is 0.35mm.
4. When the specified character does not exist in the character set, the character is not printed. When the specified character is
a space or square mark in the character set, the image is printed.
5. Character size may be smaller than parameter, because it takes into account the multi-language
6. UTF-8 supports up to four byte character code. 5 bytes UTF-8 and 6 bytes UTF-8 are not supported.
7. Complex script languages (Arabic, Thai) are printed with proportional fonts, regardless of setting of font type in order to use
the formatter function and the combined font function.
8. The linefeed code cannot be inserted among one word or one character code forming one character for the complex script
languages (Arabic, Thai). If the linefeed is inserted, the rendering result is not guaranteed.
9. Comply with Unicode 2.1 (note that if the first byte is 0x1b when UTF-16BE is specified, it is judged as a ESC code).
10. When executing sequential number printing in Arabic and Thai, the character codes are rendered as a character string and it
may not function properly.
11. When the character string exceeds the horizontal printable range, the string might not be printed.
12. When the character for uniting is selected alone, part or all of the character might not be printed.
[Valid Commands]
Multiple Language Font