
More complex commands consist of two or more character codes. For example, to print in proportional mode the code format is:
ASCII code: | ESC | p |
Decimal: | 27 | 112 : |
Hexadecimal: |
| 1B 70 n |
In this case n can be either 1 or 0, to begin or end proportional printing. To turn ON proportional printing from BASIC the command is:
LPRINT CHR$(27);CHR$(112);CHR$(l)
Control key chart
Some application programs can use control key codes for decimal values
Some programs that use this system cannot use
Dec. | Hex. | Cntl. Key | Dec. | Hex. | Cntl. Key |
0 | 00 | @ | 14 | OE | N |
1 | 01 | A | 15 | OF | 0 |
2 | 02 |
| 16 | 10 | P |
3 | 03 | : | 17 | 11 |
|
4 | 04 | D | 18 | 12 | :: |
5 | 05 | E | 19 | 13 | S |
6 | 06 | F | 20 | 14 | T |
7 | 07 | G | 21 | 15 | U |
8 | 08 | H | 22 | 16 | V |
9 | 09 |
| 23 | 17 | W |
10 | OA | ; | 24 | 18 | X |
11 | OB | K | 25 | 19 | Y |
12 | oc | L | 26 | 1A | Z |
13 | OD | M | 27 | 1B | 1 |