Graphics

Note: See Chapter 4 for sample graphics programs.

ESC K

 

 

Select Single-Density Graphics Mode

Format:

ESC

K

n1

td

ASCII code:

Decimal:

27

75

n1

n2

Hexadecimal:

1B

4B

n1

n2

Comments:

Turns on eight-pin single-density graphics mode (60 dots per inch). The total number of columns = n1 + (n2 X 256).

ESC L

 

 

Select Double-Density Graphics Mode

Format:

ESC

L

n1

n2

ASCII code:

Decimal:

27

76

n1

n2

Hexadecimal:

B

4C

n1

n2

Comments:

Turns on eight-pin low-speed double-density graphics mode (120 dots per inch). The total number of columns = n1 + (n2 X 256).

ESC Y

Select High-Speed Double-Density Graphics Mode

Format:

 

 

 

 

ASCII code:

ESC

Y

n1

n2

Decimal:

27

89

n1

n2

H e x a d e c i m a l : 1 B 5 9 n 1 n 2

Comments:

Turns on eight-pin high-speed double-density graphics mode (120 dots per inch). The total number of columns = n1 + (n2 X 256).

8-38