Epson FX-286 User Manual - Page 176
Lprint Chr$27 Chr$65 Chr$8, Lprint Chr$&h1b Chr$&h41 Chr$&h38
View all Epson FX-286 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 176 highlights
example, the format section for the n/72-inch line spacing command is as follows: ASCII code: ESC Decimal: 27 Hexadecimal: 1 B A (n) 65 ( n ) 41 (n) In BASIC you can send the command to set the n/72-inch line spacing to 8 in three ways: Decimal : LPRINT CHR$(27) CHR$(65) CHR$(8) Hex: LPRINT CHR$(&H1B) CHR$(&H41) CHR$(&H38) Decimal with quotes: LPRINT CHR$(27) "A" CHR$(8) ESCape sequences that require a 0 or 1 with a letter, such as ESC "W1" to turn on double-width, can use either the ASCII code or the numeral in quotation marks for the 0 or 1. For example, in BASIC you can turn on double-width with either of the formats below: LPRINT CHR$(27)"W1" or LPRINT CHR$(27)"W"CHR$(1) Selecting the IBM Proprinter Mode To set the FX-286 in the IBM Proprinter mode, you need to reset three DIP switches (see Appendix A). Once the FX-286 is set in the IBM mode, the printer responds to commands like a Proprinter, and prints in the selected character set. Reset the following DIP switches to select the Proprinter mode: DIP Switch 1-4 2-1 2-3 Factory Setting ON ON OFF Proprinter Setting OFF OFF ON Printing the Alternate and All Print character sets The IBM Proprinter has three character sets: Standard, Alternate, and All Print (see Appendix K for printouts of all three sets). Two of the sets, Standard and Alternate, can be selected with DIP switches. The third set, All Print, can only be selected with ESCape code "\" or "^". See this appendix for complete descriptions of these codes. J-2