Using the Command Summary
Note: Some application programs can use control key sequences. See the Control key chart on page
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: | SI |
Decimal: | 15 |
Hexadecimal: | OF |
This code can be sent from a program by sending the code 15 directly.
More complex commands consist of two or more character codes. For example, to print in
ASCII code: | ESC | W | n |
Decimal: | 27 | 87 | n |
H e x a d e c i m a l : 1 B | 57 | n |
In this case n can be either 1 or 0, to begin or end
LPRINT CHR$(27);CHR$(87);CHR$(l)
LPRINT CHR$(27);"W";CHR$(l)
For the following commands that use only 0 or 1 for the variable, either the decimal or hexadecimal values 1 and 0 or the ASCII characters 1 and 0 can be used:
ESC U, ESC x, ESC W, ESC S, ESC s, ESC
Command Summary