Epson FX-85 User Manual - Page 69

QX-10 solutions

Page 69 highlights

This does allow you to print anything, but it ignores any previous WIDTH statements. If you want to print more than 80 characters per line in a graphics program, you must therefore change your opening statement to include the appropriate WIDTH statement: OPEN "LPTl:" AS #l : WIDTH #l, 255 And for the programs in this manual, don't forget to use PRINT #l wherever we use LPRINT. This won't work for those of you who have the original release of the Disk Operating System (DOS 1.0). It can't run a printer like a file. Last year, however, IBM issued a free update (DOS 1.05); take a disk to your dealer to get your copy. Another printer problem with DOS 1.0 is that it doesn't send CHR$(7) to the printer; it just rings the computer's bell. This has also been corrected in subsequent versions. For Programmer's Easy Lesson make the following modifications in the program. In line 10 change the 29 to 28 and the 137 to 9; in line 20 change the 26 to 25; in lines 110 and 250 change the 25s to 24s; in line 330 change the 11s to 9s; add one line: 7 WIDTH "LPTl:", 255 QX-10 solutions There are two types of computer-printer interface problems that you owners of Epson QX-10s may need to address. The first is making a width statement when a line is to be more than 80 characters wide. The second is changing any occurrence of the number nine to some other number. Any time you want to print more than 80 characters (which is the same as 480 dots) on one line, you need to reserve the extra room by putting the WIDTH statement: WIDTH LPRINT 255 in one of the first lines of the program. The only problem code for the QX-10 is 9. One way to get around this is to use the ASCII high-order equivalent (137) whenever you would normally use 9. 314

  • 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

This does allow you to print anything, but it ignores any previous
WIDTH statements.
If you want to print more than 80 characters per line in a graphics
program, you must therefore change your opening statement to
include the appropriate WIDTH statement:
OPEN "LPTl:" AS #l : WIDTH #l, 255
And for the programs in this manual, don’t forget to use PRINT
#l
wherever we use LPRINT.
This won’t work for those of you who have the original release of
the Disk Operating System (DOS
1.0).
It can’t run a printer like a file.
Last year, however, IBM issued a free update (DOS 1.05); take a disk
to your dealer to get your copy.
Another printer problem with DOS
1.0
is that it doesn’t send
CHR$(7) to the printer; it just rings the computer’s bell. This has also
been corrected in subsequent versions.
For Programmer’s Easy Lesson make the following modifications in
the program. In line
10
change the 29 to 28 and the 137 to 9; in line 20
change the 26 to 25; in lines 110 and 250 change the 25s to 24s; in line
330 change the 11s to 9s; add one line:
7 WIDTH "LPTl:", 255
QX-10 solutions
There are two types of computer-printer interface problems that
you owners of Epson QX-10s may need to address. The first is making
a width statement when a line is to be more than 80 characters wide.
The second is changing any occurrence of the number nine to some
other number.
Any time you want to print more than 80 characters (which is the
same as 480 dots) on one line, you need to reserve the extra room by
putting the WIDTH statement:
WIDTH LPRINT 255
in one of the first lines of the program.
The only problem code for the QX-10 is 9. One way to get around
this is to use the ASCII high-order equivalent (137) whenever you
would normally use 9.
314