Epson FX-185 User Manual - Page 226

For X=128 To 159: Lprint Chr$x;: Next X, Lprint Chr$128chr$129chr$l30chr$131

Page 226 highlights

Let's use this command to see how the ROM control codes can print. Add: 2 LPRINT CHR$(27)"6" 4 FOR X=128 TO 159: LPRINT CHR$(X);: NEXT X 6 LPRINT CHR$(27)"7" 8 STOP That's where the international characters (Italic version) have been stored. So the CHR$(27)"6" command without the CHRS(27)"R" gives you access to the international characters. The CHR$(27)"7" turns these characters back into control codes. See how the CHR$(27)"6" and CHR$(27)"7" commands work with the userdefined characters in RAM by deleting lines 2 through 8, and adding the following (unless yours is a 7-bit system, in which case this won't work): 130 LPRINT CHR$(27)"&"CHR$(0)CHR$(128)CHR$(131); 140 FOR Y=1 TO 4: LPRINT CHR$(139); 165 LPRINT CHR$(27)"6" 180 LPRINT CHR$(128)CHR$(129)CHR$(l30)CHR$(131) 1140 DATA 0,l26,1,2,4,8,4,2,1,126,0: 'My W WARS The low-order control codes can also be defined, but not all of them can be printed with ease. CHR$(27)"I1" makes them printable, and CHRS(27)"I0" returns them to normal. Just as the higher control codes hide the Italic international characters, the lower control codes hide the Roman international characters. Let's see how the CHR$(27)"I1" and CHR$(27)"I0" codes work with user-defined characters. Change: 130 LPRINT CHR$(27)"&"CHR$(0)CHR$(1)CHR$(3); 140 FOR Y=1 TO 3: LPRINT CHR$(139); 165 LPRINT CHR$(27)"I1" 180 LPRINT CHR$(1)CHR$(2)CHR$(3) 209

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268

Let’s use this command to see how the ROM control codes can print.
Add:
2 LPRINT CHR$(27)"6"
4
FOR X=128 TO 159: LPRINT CHR$(X);: NEXT X
6 LPRINT CHR$(27)"7"
8 STOP
That’s where the international characters (Italic version) have been
stored. So the CHR$(27)“6” command without the CHRS(27)“R”
gives you access to the international characters. The CHR$(27)“7”
turns these characters back into control codes. See how the
CHR$(27)“6” and CHR$(27)“7” commands work with the user-
defined characters in RAM by deleting lines 2 through 8, and adding
the following (unless yours is a 7-bit system, in which case this won’t
work):
130 LPRINT CHR$(27)"&"CHR$(0)CHR$(128)CHR$(131);
140 FOR Y=1 TO 4: LPRINT CHR$(139);
165 LPRINT CHR$(27)"6"
180 LPRINT CHR$(128)CHR$(129)CHR$(l30)CHR$(131)
1140 DATA 0,l26,1,2,4,8,4,2,1,126,0: 'My W
W
A
R
S
The low-order control codes
can
also be defined, but not all of them
can be printed with ease. CHR$(27)“I1” makes
them
printable, and
CHRS(27)“I0” returns them to normal.
Just as the higher control codes hide the Italic international charac-
ters, the lower control codes hide the Roman international characters.
Let’s see how the CHR$(27)“I1” and CHR$(27)“I0” codes work
with user-defined characters. Change:
130 LPRINT CHR$(27)"&"CHR$(0)CHR$(1)CHR$(3);
140 FOR Y=1 TO 3: LPRINT CHR$(139);
165 LPRINT CHR$(27)"I1"
180 LPRINT CHR$(1)CHR$(2)CHR$(3)
209