Graphics

Note: See Chapter 8 for sample graphics programs.

ESC K

 

-Select Single-Density Graphics Mode

Format:

ESC

 

 

 

ASCII code:

K

(n1)

(n2)

Decimal:

27

75

(n1)

(n2)

Hexadecimal: 1B

4B

(n1)

(n2)

Comments:

Turns on single-density graphics mode with 480 possible dots per 8-inch line.

If d is the total number of columns required, nl = 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: 1B

4C

(n1)

(n2)

Comments:

Turns on low-speed double-density graphics mode with 960 possible dots per 8-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.

c-19