Epson FX-85 User Manual - Page 62

POKEing codes - is manual

Page 62 highlights

printing, either by trial and error or by using the hex dumping capability of the FX, you can start overcoming them. Because each computer system deals with ASCII codes differently, it is impossible to provide solutions for all potential problems in one appendix. We can, however, point out generic problems and suggest ways to handle them. There are four common approaches. First, you may be able to buy an alternative printer interface card for your system. This is the best solution for 7-bit system problems. See your computer dealer for advice about this. 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. This bypasses the BASIC interpreter and avoids the interface. Unfortunately, this process is also different for each computer system. We'll give the procedure for a couple of systems here; if your system is not either of them, use the procedure as a model. 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. We show a sample printer driver below (following the examples of POKEing codes). The idea is to pass the codes as issued by a BASIC program directly to the FX. POKEing codes The TRS-80 Model I version of the CHR$ function does not correctly pass on the values of 0, 10, 11, and 12. Zero is a particular problem as it is very important to the ESCape codes of the FX printers. 307

  • 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

printing, either by trial and error or by using the hex dumping capabil-
ity of the FX, you can start overcoming them.
Because each computer system deals with ASCII codes differently, it
is impossible to provide solutions for all potential problems in one
appendix. We can, however, point out generic problems and suggest
ways to handle them.
There are four common approaches. First, you may be able to buy
an alternative printer interface card for your system. This is the best
solution for 7-bit system problems. See your computer dealer for
advice about this.
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. This bypasses the BASIC interpreter and avoids the inter-
face.
Unfortunately, this process is also different for each computer sys-
tem. We’ll give the procedure for a couple of systems here; if your
system is not either of them, use the procedure as a model. 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.
We show a sample printer driver below (following the examples of
POKEing codes). The idea is to pass the codes as issued by a BASIC
program directly to the FX.
POKEing codes
The TRS-80 Model I version of the CHR$ function does not cor-
rectly pass on the values of
0, 10, 11,
and
12.
Zero is a particular
problem as it is very important to the ESCape codes of the FX printers.
307