that are used in different countries. These international characters can
be accessed with:
LPRINT CHR$(27)"R"CHR$(n);
where n is a number from zero to eight. The ESCape “R” sequence
selects one of these nine countries:
0
USA
3
United Kingdom
6
Italy
1
France 4
Denmark
7
Spain
2
Germany 5
Sweden
8 Japan
Once you have selected a country, you can use its special characters.
Choosing a new international character set, however, does not give
you a completely new set of 256 characters. There are 64 international
characters stored in the ROM, 32 in Roman and 32 in Italic typeface,
and of these you can only use
12
characters at a time. Each set of
12
is
stored as the following ASCII numbers:
35, 36, 64, 91, 92, 93, 94, 96, 123, 124, 125, 126
The next program selects each of the international character sets in
turn. When you RUN it, the printout (shown here as Table
6-2)
dis-
plays the special symbols of each set (if you have problems, consult
Appendix F).
NEW
10 DIM ARRAY (12): LPRINT CHR$(27)"M"
20 LPRINT CHR$(27)"D"CHR$(l@)CHR$(@)
30
LPRINT CHR$(l37);
40
LPRINT
“35 36 64
91 92
93 94 96
123 124 125 126"
50 FOR X=1 TO 12: READ ARRAY(X): NEXT X
60 DATA 35,36,64,91,92,93,94,96,123,124,125,126
70 FOR Y=0 TO 8: LPRINT CHR$(27)"R"CHR$(Y);
80 READ C$: LPRINT C$CHR$(137)CHR$(14);
90 FOR X=1 TO 12: LPRINT CHR$(ARRAY(X))"b";
100 NEXT X: LPRINT: NEXT Y
110 DATA "USA","FRANCE","GERMANY","U.K.","DENMARK"
120 DATA "SWEDEN","ITALY","SPAIN","JAPAN"
130 LPRINT CHR$(27)"@"
There are a few items in the program that haven’t been covered yet;
we’ll cover them later. The important thing now is to understand how
you can use the CHR$(27)“R” to gain access to the international
characters.
86
Summary of Contents for FX-80
Page 1: ......
Page 22: ......
Page 23: ......
Page 26: ......
Page 31: ...Figure 1 1 The FX 80 and FX 100 printers 14 ...
Page 32: ...Figure 1 2 Printer parts 1 5 ...
Page 38: ...Figure 1 8 DIP switch vent 21 ...
Page 42: ...Figure 1 11 Ribbon insertion 25 ...
Page 51: ...Figure 1 20 Paper thickness adjustment 34 ...
Page 85: ......
Page 92: ......
Page 95: ......
Page 97: ...80 ...
Page 109: ......
Page 117: ...Figure 7 3 Staggering STAIR STEPS 100 ...
Page 119: ...Table 7 1 Line spacing commands 102 ...
Page 129: ...112 ...
Page 147: ...130 ...
Page 181: ...Figure 12 4 Corner of the FX 80 design ...
Page 189: ...Figure 12 10 Most distinct version Figure 12 11 Reversed version 172 ...
Page 215: ...198 ...
Page 231: ...214 ...
Page 249: ......
Page 269: ......
Page 272: ...iv ...
Page 283: ......
Page 290: ......
Page 305: ...282 ...
Page 311: ...288 ...
Page 323: ...300 ...
Page 339: ......
Page 343: ...320 ...
Page 349: ...326 ...
Page 353: ...330 ...
Page 354: ...Schematic 331 ...