Epson MX-70 User Manual - Page 87

Appendix D

Page 87 highlights

Appendix D TRS-80 Differences This MX-70 Manual is designed around the Apple II for reasons discussed in Chapter 2. Fortunately, TRS-80 users can use it successfully by following the notes and suggestions in this appendix and throughout the text. In fact, using the MX-70 with the TRS-80 is quite easy: with no ports to initialize, no control codes needed to permit 80 column listings, and straightforward LPRINT commands. General Changes All TRS-80 models use LPRINT and LLIST to send information to the printer. Be sure to change all PRINTS intended for the printer to LPRINT. Ignore all references to PR#l and PR#O. They are for the Apple, as noted. It may be necessary (and is usually permissable) to add 128 to certain code numbers, (but not when in graphics mode). For example, if CHR$(27) "A" CHR$ (12) doesn't work, use CHR$(27) "A" CHR$(140). The problem is with the computer. TRS-80 Model I Without Expansion Interface Model I TRS-80 owners may use Radio Shack printer interface #26-1411 in place of the Radio Shack expansion interface, if necessary. TRS-80 Model I With Expansion Interface Graphics Codes Sending graphics codes to the MX-70 via Model I BASIC has its drawbacks. Entering graphics mode can be an adventure if we try, for example, to specify a line length of 10. BASIC intercepts this code, and passes it down the line as a 13. So the printer expects 13 columns though we sent it only 10. Once in graphics mode, certain codes must be sent via POKE rather than LPRINT CHR$. The Model I printer driver interprets CHR$(O) as a null code and does not pass it on to the printer. That hurts since we need this code in graphics mode. APPENDIX D 85

  • 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

APPENDIX D
Appendix D
TRS-80 Differences
This MX-70 Manual is designed around the Apple II for reasons discussed in
Chapter 2. Fortunately, TRS-80 users can use it successfully by following the
notes and suggestions in this appendix and throughout the text. In fact, using
the MX-70 with the TRS-80 is quite easy: with no ports to initialize, no control
codes needed to permit 80 column listings, and straightforward LPRINT com-
mands.
General Changes
All TRS-80 models use LPRINT and LLIST to send information to the printer.
Be sure to change all PRINT
S
intended for the printer to LPRINT.
Ignore all references to PR#l and PR#O. They are for the Apple, as noted.
It may be necessary (and is usually permissable) to add 128 to certain code
numbers, (but not when in graphics mode). For example, if CHR$(27) “A”
CHR$ (12) doesn’t work, use CHR$(27) “A” CHR$(140). The problem is with
the computer.
TRS-80 Model I Without Expansion Interface
Model I TRS-80 owners may use Radio Shack printer interface #26-1411 in
place of the Radio Shack expansion interface, if necessary.
TRS-80 Model I With Expansion Interface
Graphics Codes
Sending graphics codes to the MX-70 via Model I BASIC has its drawbacks.
Entering graphics mode can be an adventure if we try, for example, to specify a
line length of 10. BASIC intercepts this code, and passes it down the line as a
13. So the printer expects 13 columns though we sent it only 10.
Once in graphics mode, certain codes must be sent via POKE rather than
LPRINT CHR$. The Model I printer driver interprets CHR$(O) as a null code
and does not pass it on to the printer. That hurts since we need this code in
graphics mode.
85