TransAct Technologies ITHERM 280 User Manual

Page 196

Advertising
background image

Programming Codes

iTherm

®

280 Programmer’s Guide

Page 194

Rev C

28-07764

Function

Define User-Defined Characters

ASCII

[ESC] & <y> <c1> <c2> [x1 d1 … d(y x x1)] … [xk d1 … d(y x xk)]

Hexadecimal 1BH 26H y c1 c2 [x1 d1 … d(y x x1)] … [xk d1 … d(y x xk)]
Decimal

<27> <38> y c1 c2 [x1 d1 … d(y x x1)] … [xk d1 … d(y x xk)]

Range

y = 2

32

c

1

c

2

126

0

x

12 (9 x 9 font)

0

x

9 (7 x 9 font)

0

d

1

… d(y x x)

255

Description The [ESC] & <y> <c

1

> <c

2

> [x

1

d

1

… d(y x x

1

)] … [x

k

d

1

… d(y x x

k

)] command

defines user-defined characters from character code <c

1

> to <c

2

>. <y> and <x>

are the configurations of user-defined characters. <y> specifies the number of
bytes in the vertical direction. <x> specifies the number of bytes in the horizontal
direction. Character codes ranging from ASCII code 20H (32) to 7EH (126) can
be defined by <c

1

> and <c

2

>. Up to 19 user-defined characters can be defined.

Data (<d>) specifies a bit printed to one and not printed to zero. At the default,
user-defined characters are not defined, and the internal character set is printed.
Once the user-defined characters have been defined, they are available until
[ESC] @ or [ESC] ? is executed; the user-defined characters are redefined; the
power is turned off; or the printer is reset.

Function

Cancel User-Defined Characters

ASCII

[ESC] ? <n>

Hexadecimal 1BH 3FH <n>
Decimal

<27> <63> <n>

Range

32

n

126

Description The [ESC] ? <n> command cancels the user-defined characters defined for

character code <n>. After the user-defined characters are canceled, the internal
character set is printed.

Function

Select Character Font

ASCII

[ESC] M <n>

Hexadecimal 1BH 4DH <n>
Decimal

<27> <77> <n>

Range

0,1,48,49

Description The [ESC] M <n> command selects one-byte character font.

<n>

Function

0, 48

Page 0 [PC437 (U.S.A. and Standard Europe)]

1, 49

Page 1 [PC850 (Multilingual)]

Table 19 Select Character Font Table

Advertising