Epson LX-80 User Manual - Page 134

Apple II solutions, CHRS980N, PRINT

Page 134 highlights

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 S-bit computer, but its printer interface only handles seven bits. The second is that there is one problem code number: nine. The printer interface card furnished with the Apple II computer only passes seven bits to the LX-80, which means that you have a 7-bit system. Should you need an 8-bit system, the simplest solution is to purchase a new printer interface card from your computer dealer. Such a card is available for the Apple II. You can POKE codes to memory as discussed above, you can write your own printer driver, or you can avoid the types of programs that require eight bits. A routine to POKE codes to the memory of an Apple II Plus is given in the POKEing codes subsection. The Apple II uses CHR$(9) to "initialize" the printer. This code and the following character or characters are intercepted by the printer interface card and used to change modes. You can divert all output to the printer instead of to the screen by sending the following line to the printer: PR#l P R I N T C H R $ ( 9 ) "80N" Then type anything, followed by RETURN. The CHRS(9)"80N" code directs all subsequent output to the printer, up to 80 characters per row. You can cancel this by typing: PRINT CHR$( 9 > " I " or PR#O The problem is that the LX-80 uses CHR$(9) to activate horizontal tabulation and can also use it in graphics programs. When you send this code, however, your system will interpret it as a printer initialization code and the program will not work properly. In these cases use the following method to change your printer initialization code to a number that is not used in the program. For example, you can change your initialization code to one by typing: F-12

  • 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

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
S-bit computer, but its printer interface only handles seven bits. The
second is that there is one problem code number: nine.
The printer interface card furnished with the Apple II computer
only passes seven bits to the LX-80, which means that you have a
7-bit system. Should you need an 8-bit system, the simplest solution
is to purchase a new printer interface card from your computer deal-
er. Such a card is available for the Apple II.
You can POKE codes to memory as discussed above, you can
write your own printer driver, or you can avoid the types of prog-
rams that require eight bits. A routine to POKE codes to the memory
of an Apple II Plus is given in the POKEing codes subsection.
The Apple II uses CHR$(9) to “initialize” the printer. This code
and the following character or characters are intercepted by the prin-
ter interface card and used to change modes. You can divert all output
to the printer instead of to the screen by sending the following line to
the printer:
PR#l
PRINT CHR$(9)
“80N”
Then type anything, followed by RETURN.
The
CHRS(9)“80N”
code directs all subsequent output to the
printer, up to 80 characters per row. You can cancel this by typing:
PRINT
CHR$(
9
>
I
or
PR#O
The problem is that the LX-80 uses CHR$(9) to activate horizontal
tabulation and can also use it in graphics programs. When you send
this code, however, your system will interpret it as a printer initializa-
tion code and the program will not work properly. In these cases use
the following method to change your printer initialization code to a
number that is not used in the program. For example, you can change
your initialization code to one by typing:
F-12