Epson FX-185 User Manual - Page 227
Japan, Denm., Sweden, Italy, Spain
View all Epson FX-185 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 227 highlights
And add: 1100 DATA 0,121,0,73,0,73,0,73,0,79,0: 'My S 1110 DATA 0,127,0,65,0,65,0,65,0,127,0: 'My Oh SOW The program now contains six DATA lines, but it uses only the first three. The three characters are stored in ASCII codes 1, 2, and 3 in RAM; they are printed by line 180. Not all of the low-order (O-31) control codes can be changed to print as normal characters-nor would you want them to. Imagine, if you changed code 27 to print as a normal character . . . no more ESCape codes. You would have a hard time getting anything done. Codes that currently activate special modes or actions by the printer cannot be printed as normal characters. These include 7 to 15, 17 to 20, 24, and 27. It is, however, possible to print the characters stored in these locations with the CHR$(27) "R" command. Here's how it works. Suppose you choose to define the ASCII code 8 (normally a backspace). The CHR$(27) "&" command will work fine, but printing CHR$(8) still produces a backspace, even after a CHR$(27)"I1". CHR$(27)"R" to the rescue. CHR$(27)"R" lets you print the character stored in location 8 with another ASCII code. The CHR$(27)"R" transports the character to an easily printable location. To find out what is stored where, use Table 15-1. Table 15-1. International character locations Dec. Code USA France Germ. Eng. Denm. Sweden Italy Spain Japan 35 6 12 36 11 64 0 16 29 91 5 23 18 23 5 7 92 15 24 20 24 9 31 93 16 25 13 13 30 8 94 25 96 30 2 123 30 26 19 26 0 22 124 2 27 21 27 3 10 125 1 28 14 14 1 126 22 17 28 4 210