ESC &

Define User-Defined Characters

Format:

ASCII code:

Decimal:

Hexadecimal:

Explanation:

ESC & NUL (data1) (data2) . . . (data n)

2 7

3 8

0 (data1) (data2) . . . (data n)

1B

26

00 (data1) (data2) . . . (data n)

This command allows characters to be re-defined in the currently selected mode.

ESC %

 

 

Select User-Defined Set

Format:

ESC

%

(n)

ASCII code:

Decimal:

27

37

(n)

Hexadecimal:

1B

25

(n)

Explanation:

This code selects the user-defined set if n = 1 and the normal set if n=0. ESC & is required to define the character set.

Dot Graphics

Note: See Chapter 9 for further information on dot graphics.

ESC K

Select Single Density Graphics Mode

Format:

 

ASCII

code:

ESC

K (n1) (n2) (data1) (data2) . . . (data(d))

Decimal:

2775 (n1) (n2) (data1) (data2) . . . (data(d))

Hexadecimal:

1B 48 (n1) (n2) (data1) (data2) . . . (data(d))

Explanation:

Turns on Single Density Graphics Mode, printing 480 dots per 8-inch line. If d is the total number of dots required, nl and n2 are calculated thus:

nl=d MOD 256 and n2=INT (d/256).

and are followed by d data bytes.

c-20