Epson LQ-950 User Manual - Page 292
Examples
View all Epson LQ-950 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 292 highlights
All three formats are equivalent, so you can pick the one best suited to your purpose. Variables are represented by italicized letters such as n, nl, and m. The variables are explained in the comments section. Note: Some application programs use control key sequences. See the Control Key Chart later in this chapter. Examples 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: 0F 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 double-wide mode, the code format is the following: ASCII code: ESC W n Decimal: 27 87 n Hexadecimal: 1B 57 n In this case n can be either 1 (on) or 0 (off), to begin or end doublewide printing. You can use either of the following commands to turn on double-wide print from BASIC: LPRINT CHR$(27);CHR$(87);CHR$(l) LPRINT CHR$ (27);"W";CHRS (1) Command Summary 9-3