Epson RX-80 User Manual - Page 119

Print Chr$980n, Print Chr$9i Or Pr#0, Print Chr$9; Chr$l, Return.

Page 119 highlights

Apple® II solutions Apple II computers pose two types of problems. The first is that the Apple II is an 8-bit computer, but its printer interface handles only seven bits. The second is that there is one problem code number: nine. The printer interface card furnished with the Apple II computer passes only seven bits to the Apex80, 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 dealer. Such a card is available for the Apple II. 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 PRINT CHR$(9)"80N" Then type anything, followed by RETURN. The CHR$(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#0 The problem is that the Apex80 uses CHR$(9) to activate horizontal tabulation and can also use it in graphics programs. When you send this code, however, your system interprets it as a printer initialization code and the program does 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: PR#l PRINT CHR$(9); CHR$(l) IBM-PC solutions There are two problems using the IBM Personal Computer BASIC to drive a printer. First, the IBM-PC BASIC inserts a carriage-return/ line-feed (CR-LF)after each 80 characters you send it. Second, it adds an LF to each CR in an LPRINT statement. C-8 Problem Solving and Maintenance

  • 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

Apple
®
II solutions
Apple II computers pose two types of problems. The first is that the
Apple II is an 8-bit computer, but its printer interface handles only
seven bits. The second is that there is one problem code number: nine.
The printer interface card furnished with the Apple II computer
passes only seven bits to the Apex80, 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 dealer. Such a card
is available for the Apple II.
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
PRINT CHR$(9)"80N"
Then type anything, followed by
RETURN.
The CHR$(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#0
The problem is that the Apex80 uses CHR$(9) to activate horizontal
tabulation and can also use it in graphics programs. When you send
this code, however, your system interprets it as a printer initialization
code and the program does 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:
PR#l
PRINT CHR$(9); CHR$(l)
IBM-PC solutions
There are two problems using the IBM Personal Computer BASIC
to drive a printer. First, the IBM-PC BASIC inserts a carriage-return/
line-feed (CR-LF) ft
a
er each 80 characters you send it. Second, it adds
an LF to each CR in an LPRINT statement.
C-8
Problem Solving and Maintenance