Star Micronics NB-15 Printer User Manual


 
.
.
L
; L.
87
When the automatic sheet feeder is installed, you must set the
DIP switch 2-4 on to detect the paper-out condition.
In addition, following functions are ignored when the auto-
matic sheet feeder is installed:
Setting of the page length
Top and bottom margins
Vertical tab settings
Caution: The five-character commands (e.g. “((0))“) work as the
automatic sheet feeder control codes whenever the automatic
sheet feeder is mounted on the printer (e.g. LLISTing).
On the other hand, the automatic sheet feeder is not mounted on
the printer, those five characters are printed as regular
characters.
n Reading a hex dump
We’ve seen how to make a hex dump in Chapter 2, but it’s not
really clear what we can do with one. We need a little
background first.
The BASIC in some computers changes ASCII codes before
they send them to the printer. If you run into problem because
of this, try this hex dump to check the ASCII codes.
First turn off the printer and run the following program. Hold
down both the Paper Feed key and Mode key and turn on the
printer.
10 FOR I=0 TO 255
20 LPRINT CHR$(I)
30 NEXT I
40 LPRINT
50 END
If your system passes the codes directly to the printer without
changing them, you will get like this. (You can print out the last
remaining line in the print buffer by putting the printer off line
with the On Line key.)