2.Write a file on diskette and then use the DOS COPY command with the /B option to send it to the printer (i.e. COPY PRNTFILE/B PRN). Open the file for random access or the ASCII decimal 26 may be interpreted as an
3.Buy a copy of Compaq DOS 2.1. The BASIC that comes with this operating system has all of the features of
There are two problems for
To get the printer to accept more than 80 characters, use this width statement (preferably at the beginning of your program):
WIDTH LPRINT 255
This will reserve extra room and a line feed (with carriage return) will not be sent after 80 characters.
Microsoft BASIC is one of those languages that has trouble sending the horizontal tab code (ASCII 9). It automatically converts ASCII 9 into a series of spaces to advance the print head to the next tab position. Since the
Any problem codes you find with the
100 IF (INP(&H15) AND &HF8)<>200 THEN 100
110 OUT &H14, X
120 OUT &H17, 0 : OUT &H17, 1
93