Esc r c1 c2 d1 … dk – Star Micronics Line Thermal/Dot Printer User Manual
Page 89

Rev. 0.00
3-77
STAR Line Mode Command Specifications
ESC r c1 c2 d1 … dk
[Name] Register Chinese download characters
[Code]
ASCII
ESC
r
c1
c2
d1
..
dk
Hexadecimal
1B
72
c1
c2
d1
..
dk
Decimal
27
114
c1
c2
d1
..
dk
[Defined Area]
Thermal
: 0 ≤ d ≤ 255
k = 72, c1 and c2 differ according to specifications and code type (see table below).
Slip
: 0 ≤ d ≤ 255
k = 32, c1 and c2 differ according to specifications and code type (see table below).
Validation
: 0 ≤ d ≤ 255
k = 32, c1 and c2 differ according to specifications and code type (see table below).
[Initial Value]
Thermal
: All spaces
Slip
: All spaces
Validation
: All spaces
[Function]
Registers Chinese download characters to c1 and c2 addresses. Those already registered to these
addresses are overwritten.
If c1 and c2 are outside of the defined are or the printer is model not equipped with Chinese fonts
(for overseas) and when the specification for the location of use is specified as SBCS (single byte
countries) by the memory switch, the printer discards up to d1 and dk.
Chinese download characters once defined are valid until redefined or the power is turned OFF.
Defined Chinese download characters are accessed with two-bytes, in the same way as other Kanji
characters. At that time, c1 is the first byte, c2 is the second byte.d1, d2 • • • d32 are character data.
The defined ranges are shown below. (* The registration region is the same for Japanese characters
in JIS or shift JIS.)
Specifications
c1
c2
Registration count
Japanese characters/JIS type
c1 = 77h
21h ≤ c2 ≤ 7Eh
94 Characters
Japanese characters/Shift JIS type
c1 = ECh
40h ≤ c2 ≤ 7Eh
80h ≤ c2 ≤ 9Eh
94 Characters
They are designed as shown below and data is sent sequentially.
d1 ● ● ● ● ● ● ● ● d2 ● ● ● ● ● ● ● ● d3 ● ● ● ● ● ● ● ●
d4 ● ● ● ● ● ● ● ● d5 ● ● ● ● ● ● ● ● d6 ● ● ● ● ● ● ● ●
d7 ● ● ● ● ● ● ● ● d8 ● ● ● ● ● ● ● ● d9 ● ● ● ● ● ● ● ●
d10 ● ● ● ● ● ● ● ● d11 ● ● ● ● ● ● ● ● d12 ● ● ● ● ● ● ● ●
d13 ● ● ● ● ● ● ● ● d14 ● ● ● ● ● ● ● ● d15 ● ● ● ● ● ● ● ●
d16 ● ● ● ● ● ● ● ● d17 ● ● ● ● ● ● ● ● d18 ● ● ● ● ● ● ● ●
d19 ● ● ● ● ● ● ● ● d20 ● ● ● ● ● ● ● ● d21 ● ● ● ● ● ● ● ●
d22 ● ● ● ● ● ● ● ● d23 ● ● ● ● ● ● ● ● d24 ● ● ● ● ● ● ● ●
d25 ● ● ● ● ● ● ● ● d26 ● ● ● ● ● ● ● ● d27 ● ● ● ● ● ● ● ●
d28 ● ● ● ● ● ● ● ● d29 ● ● ● ● ● ● ● ● d30 ● ● ● ● ● ● ● ●
d31 ● ● ● ● ● ● ● ● d32 ● ● ● ● ● ● ● ● d33 ● ● ● ● ● ● ● ●
d34 ● ● ● ● ● ● ● ● d35 ● ● ● ● ● ● ● ● d36 ● ● ● ● ● ● ● ●
d37 ● ● ● ● ● ● ● ● d38 ● ● ● ● ● ● ● ● d39 ● ● ● ● ● ● ● ●
d40 ● ● ● ● ● ● ● ● d41 ● ● ● ● ● ● ● ● d42 ● ● ● ● ● ● ● ●
d43 ● ● ● ● ● ● ● ● d44 ● ● ● ● ● ● ● ● d45 ● ● ● ● ● ● ● ●
d46 ● ● ● ● ● ● ● ● d47 ● ● ● ● ● ● ● ● d48 ● ● ● ● ● ● ● ●
d49 ● ● ● ● ● ● ● ● d50 ● ● ● ● ● ● ● ● d51 ● ● ● ● ● ● ● ●
d52 ● ● ● ● ● ● ● ● d53 ● ● ● ● ● ● ● ● d54 ● ● ● ● ● ● ● ●
d55 ● ● ● ● ● ● ● ● d56 ● ● ● ● ● ● ● ● d57 ● ● ● ● ● ● ● ●
d58 ● ● ● ● ● ● ● ● d59 ● ● ● ● ● ● ● ● d60 ● ● ● ● ● ● ● ●
d61 ● ● ● ● ● ● ● ● d62 ● ● ● ● ● ● ● ● d63 ● ● ● ● ● ● ● ●
d64 ● ● ● ● ● ● ● ● d65 ● ● ● ● ● ● ● ● d66 ● ● ● ● ● ● ● ●
d67 ● ● ● ● ● ● ● ● d68 ● ● ● ● ● ● ● ● d69 ● ● ● ● ● ● ● ●
d70 ● ● ● ● ● ● ● ● d71 ● ● ● ● ● ● ● ● d72 ● ● ● ● ● ● ● ●
bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
Horizontal 24 dot
Vertical 24 dot
: Font Data /
: Invalid Data