Graphics

Note: See Chapter 6 for sample graphics programs.

ESC K

 

SelectSingle-density Graphics Mode

Format:

 

 

 

 

ASCII code:

ESC

K

(n1)

(n2)

Decimal:

27

75

(n1)

(n2)

Hexadecimal:

1 B

4B

(n1)

(n2)

Comments:

Turns on single-density graphics mode with 480 possible dots per eight-inch line and 816 per 13.6-inch line.

If d is the total number of columns required, n1 = d MOD 256

n2 = INT(d / 256)

This command must be followed by d data numbers.

ESC L

 

Select Double-density Graphics Mode

Format:

ESC

 

 

 

ASCII code:

L

(n1)

(n2)

Decimal :

27

76

(n1)

(n2)

Hexadecimal: 1 B

4C

(n1)

(n2)

Comments:

Turns on low-speed double-density graphics mode with 960 possible dots per eight-inch line and 1632 per 13.6-inch line.

If d is the total number of columns required, n1 = d MOD 256

n2 = INT(d / 256)

This command must be followed by d data numbers.

G-24