For the following commands that use only 0 or 1 for the variable, either the ASCII cocks 1 and 0 or the characters 1 and 0 can be used:
ESC S, ESC U, ESC X, ESC W, ESC S,
For example, in BASIC you can turn on
LPRINT CHR$(27);"W";CHR$(1)
LPRINT CHR$(27);"W";"1"
The simplest type of command consists of a single character to be sent to the printer. For instance, to print in condensed mode the code format is:
ASCII code: S I
Decimal: 15
Hexadecimal: OF
More complex commands consist of two or more character codes. For example, to print in elite mode the code format is the following:
ASCII code: | ESC | M | n |
Decimal: | 27 | 77 | n |
Hexadecimal: | 1B | 4D | n |
In this case n can be either 1 or 0, to begin or end elite printing. You can use either of the following commands to turn ON elite print from
BASIC:
LPRINT CHR$(27);CHR$(77);CHR$(1)
LPRINT CHR$(27);"M";CHR$(l)
Command Summary |