Epson LX-86 User Manual - Page 137

Solutions for Specific Systems, Applesoft BASIC solutions, Apple@ II solutions - drivers

Page 137 highlights

The second approach is to use commercially available software that is specifically designed to overcome these coding problems. Consult your computer dealer or computer publications to see if a program for your computer system is available. The third approach consists of avoiding the software that is changing the codes. On most computers you can send each code directly to the printer port. This bypasses the BASIC interpreter and avoids the interface. Unfortunately, this process is also different for each computer system. Consult your computer's manual to determine if you can do the same on your system. A fourth approach is to change the printer driver program in your system. This requires a knowledge of machine language and of the way your computer works. If you don't have this knowledge, your computer dealer may be able to help you or suggest someone who can. Solutions for Specific Systems The next four subsections illustrate dealing with interface puzzles on four types of computers. Applesoft BASIC solutions Applesoft BASIC does not use PRINT to send data to the screen and LPRINT to send data to the printer as MBASIC does. Therefore, put an PR#l at the beginning of a program and change all instances of LPRINT to PRINT. If one of our programs contains an INPUT statement or a PRINT statement, there will be a message that should go to the screen before anything is sent to the printer. In these programs, leave the first lines as they are and after the INPUT and/or PRINT statements, add a line that states PR#l ; then change all the instances of LPRINT to PRINT and put a line that states PR#0 at the end of the program. Apple® II solutions There are two types of problems that you who own Apple II computers will need to address. The first is that the Apple II is an 8-bit computer, but its printer interface only handles seven bits. The second is that there is one problem code number: nine. F-6

  • 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

The second approach is to use commercially available software that
is specifically designed to overcome these coding problems. Consult
your computer dealer or computer publications to see if a program
for your computer system is available.
The third approach consists of avoiding the software that is chang-
ing the codes. On most computers you can send each code directly to
the printer port. This bypasses the BASIC interpreter and avoids the
interface.
Unfortunately, this process is also different for each computer
system. Consult your computer’s manual to determine if you can
do the same on your system.
A fourth approach is to change the printer driver program in your
system. This requires a knowledge of machine language and of the
way your computer works. If you don’t have this knowledge, your
computer dealer may be able to help you or suggest someone who
can.
Solutions for Specific Systems
The next four subsections illustrate dealing with interface puzzles
on four types of computers.
Applesoft BASIC solutions
Applesoft BASIC does not use PRINT to send data to the screen
and LPRINT to send data to the printer as MBASIC does. Therefore,
put an
PR#l
at the beginning of a program and change all instances
of LPRINT to PRINT.
If one of our programs contains an INPUT statement or a PRINT
statement, there will be a message that should go to the screen before
anything is sent to the printer. In these programs, leave the first lines
as they are and after the INPUT and/or PRINT statements, add a line
that states PR#l ; then change all the instances of LPRINT to PRINT
and put a line that states PR#0 at the end of the program.
Apple
®
II solutions
There are two types of problems that you who own Apple II
computers will need to address. The first is that the Apple II is an
8-bit computer, but its printer interface only handles seven bits. The
second is that there is one problem code number: nine.
F-6