Epson FX-80 User Manual page 247

Hide thumbs Also See for FX-80:
Table of Contents

Advertisement

Table 18·1. ASCII Pattern for Character Versions.
Pattern Example
letter
=
L
G
=
72
lower-case letter
=
L
+
32
9
=
72
+
32
=
110
italic letter
=
L
+
128
G
=
72
+
128
=
200
italic lower-case letter
=
L
+
160
9
=
72
+
160
=
232
With this in mind, add these lines:
4~
READ L: PRINT CHR$(L) , Print to screen
5~
FOR
Y=~
TO 1: FOR
Z=~
TO 1:
A = L
+
128*Y
+
32*Z
and make these changes:
6~
LPRINT
CHR$(27)rr&rrCHR$(~)CHR$(A)CHR$(A);
7~
LPRINT CHR$(139);
9~
NEXT Z: NEXT Y
Line 50 calculates the code (A) to be defined in line 60 by adding the
appropriate amount to the base letter
L.
Line 60 is the (ESC>"
&"
defining sequence, and line 70 sets the attribute byte to 139.
The code for the letter to be defined and the data for its four compo-
nents are stored in DATA statements. Type:
216
25~
'My G
26~
DATA 71
27~
DATA
~,15,16,~,32,31,64,~,64,~,64
28~
DATA
64,4,72,2,32,2,24,4,~,~,~
29~
DATA
~,12~,4,~,2,124,1,~,1,~,1
3~~
DATA
1,64,~,124,2,68,8,12~,~,64,~

Advertisement

Table of Contents
loading

Table of Contents