Graphics
Note:
See Chapter 5 for sample graphics programs.
ESC K
Select Single-density Graphics Mode
Format:
ASCII code:
ESC K
n1 n2
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 = nl + (n2
x
256).
ESC L
Select Double-density Graphics Mode
Format:
ASCII code:
ESC L
n1 n2
Decimal:
27 76
n1 n2
Hexadecimal:
1 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
Hexadecimal:
1B 59
n1 n2
Comments:
Turns on eight-pin high-speed double-density graphics mode (120
dots per inch). The total number of columns = nl + (n2
x
256).
Command Summary
A . 3 3