Graphics

Note: See Chapter 4 for sample graphics programs. See the table under ESC* for graphics modes.

ESC K

 

Select Singledensity Graphics Mode

 

 

 

 

 

 

Format:

 

 

nl

n2

ASCII code:

ESC

K

Decimal:

27

75

nl

n2

Hexadecimal:

1B

4B

nl n.2

Comments:

Turns on eight-pin, single-density graphics mode. The total number of columns = nl + (~2 X 256).

ESC L

 

Select Double-density Graphics Mode

Format:

 

 

 

 

ASCII code:

ESC

L

nl

n2

Decimal:

27

76

nl

n2

Hexadecimal:

1B

4C

nl n2

Comments:

Turns on eight-pin, low-speed, double-density graphics mode. The total number of columns = nl + (n2 X 256).

ESC YSelect High-speed Double-density Graphics Mode

Format:

 

 

nl

n2

ASCII code:

ESC

Y

Decimal:

27

89

nl

n2

Hexadecimal:

1B

59

nl n2

Comments:

Turns on eight-pin, high-speed, double-density graphics mode. The total number of columns = nl + (n2 X 256).

9-35