beautypg.com

Esc r c1 c2 d1...dk – Star Micronics Dot Impact Printer User Manual

Page 69

background image

3-61

STAR Command Specifications

Rev. 0.70

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]

0 ≤ d ≤ 255

k = 32

c1 and c2 differ according to specifications and code type (see table below).

[Initial Value]

All spaces

[Function]

Registers Japanese download characters to c1 and c2 addresses, but the following shows the possible code

range.

If one has been already registered to an address, it is overwritten.

Chinese download characters once defined are valid until redefined or the power is turned OFF.

The definition range varies according to model. (Below: Specs. 1, 2, and 3)

Spec. 1

Specifications

c1

c2

Registration count

Japanese Language Characters

c1 = 77h

20h ≤ c2 ≤ 29h

10 Characters

Kanji Characters

c1 = F8h

21h ≤ c2 ≤ 2Ah

10 Characters

Taiwan Characters

c1 = FEh

F0h ≤ c2 ≤ F9h

10 Characters

Spec. 2

Specifications

c1

c2

Registration count

Japanese Language Characters

c1 = 77h

20h ≤ c2 ≤ 29h

10 Characters

Kanji Characters

c1 = FAh

21h ≤ c2 ≤ 2Ah

10 Characters

Taiwan Characters

c1 = FEh

F0h ≤ c2 ≤ F9h

10 Characters

Spec. 3

Specifications

c1

c2

Registration count

Japanese Language Characters

c1 = 77h

20h ≤ c2 ≤ 7Dh

94 Characters

Kanji Characters

FEh ≤ c1 ≤ FFh

A1h ≤ c2 ≤ FEh

94 Characters

Taiwan Characters

FEh ≤ c1 ≤ FFh

A1h ≤ c2 ≤ FEh

94 Characters

Defined Japanese 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.