ESC Dec

Hex

SymbolFunction

ESC 4 2

2A

::.

Turns graphics mode ON. Format:

 

 

 

 

 

E S C “v’ m nl n 2

 

 

 

 

followed by n data numbers, where

 

 

 

 

n = total number of dot columns,

 

 

 

 

nl = n MOD 256,

 

 

 

 

n2 = INT (n/256),

 

 

 

 

m selects mode O-6.

 

 

 

-

See Chapter 9 for modes.

ESC 4 5

2D

Turns underline mode ON. Format:

 

 

 

 

ESC “-” n

 

 

 

 

where n toggles underline on and off:

 

 

 

 

0 turns it OFF, 1 turns it ON.

ESC

4 7

2F

 

Selects a vertical tab channel. Format:

 

 

 

 

ESC “/” n

 

 

 

 

where n = 0-7.

ESC

4 8

30

0

Sets line spacing to 1/8-inch (9-dot).

ESC

4 9

31

1

Sets line spacing to 7/72-inch (7-dot).

ESC

5 0

32

2

Returns line spacing to the default of

 

 

 

 

1/6-inch (12-dot).

ESC 5 1

33

3

Sets line spacing to n/216-inch

 

 

 

 

(1/216-inch is 1/3-dot). Stays on until

 

 

 

 

changed. Format:

 

 

 

 

ESC "3" n

 

 

 

 

where n = O-255.

ESC

5 2

34

4

Turns italic mode ON.

ESC

5 3

35

5

Turns italic mode OFF.

ESC

5 6

38

8

Disables the paper-out sensor. Can

 

 

 

 

also be disabled with DIP switch l-5.

ESC 5 7

39

9

Enables the paper-out sensor. Can

 

 

 

 

also be enabled with DIP switch l-5.

ESC 5 8

3A

 

Copies the ROM character set to

 

 

 

 

RAM. Format:

 

 

 

 

E S C “ :” nl n 2 n 3

 

 

 

 

where nl, n2, and n3 are all 0. They

 

 

 

 

are included for future expansion.

 

 

 

 

The RAM character set must be acti-

 

 

 

 

vated with ESC “%“.

ESC 60

3C

<

Turns one-line unidirectional mode

 

 

 

 

ON. Prints each line from left to

 

 

 

 

right.

B-4