Setting The Graphics Width - Epson FX-80 User Manual

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

Advertisement

print row, and PO is its black/white reverse image. The times table
shown in Figure 16-4 produces the pattern P in each column that is
headed by a black dot. Pattern PO is printed in the other columns. The
pin patterns are created this way:
14~
FOR
PASS=~
TO LAST:
P=~:
PRINT "PASS " PASS " OF " LAST
16~
F:OR
DOT=~
TO fI:
17~
IF A(7*PASS+DOT+1)=1 THEN P=P+2
A
(6-DOT)
18~
NEXT DOT
185 ' See Appendix I re problem codes and P
19~ P~;'127-P:
IFPASS=I.AST THEN
P~=P~+1-2V\(7-R)
For each pass of the print head (0 to LAST), the program calculates the
pin patterns, seven dots at a time. Line 170 calculates P, and line 190
calculates its complement, PO.
Adjust the line spacing to match the seven-dot passes:
12~LPRINT
CHR$(2?)"1"j
If this produces slight gaps between rows, adjust the spacing accord-
ingly (e.g., CHR$(27)"3"CHR$(20)).
The length of the array depends entirely on the variables in line 20.
If the array length is not a multiple of seven, the pin
p~tterns
(P and
PO) for the last pass of the print head must be adjusted accordingly.
Add:
13~
LAST=INT(C/7): R=C-7*LAST
15~
H=6: IF PASS=LAST THEN H=R-1
Setting the GraphicS Width (Phase Three)
The required graphics width is C, the size of the array. If, however,
C is greater than 255, the value n
z
in the graphics entry string must
change from zero to one. With this in mind, add:
188
2~~
N1=C:
N2=~
2~5
' See Appendix I re problem codeS
andP~
21~
IF C)255 THEN N1=C-256:
N2=1
22~
LPRINTCHR$(27)"*"CHR$(5)CHR$(N1)CHR$(N2);

Advertisement

Table of Contents
loading

Table of Contents