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 end-of-file marker.

3.Buy a copy of Compaq DOS 2.1. The BASIC that comes with this operating system has all of the features of IBM-PC BASIC, but doesn’t have the problem with ASCII decimal 26.

QX-10 Computers

There are two problems for QX-10 computer users. The first is sending more than 80 characters per line to the printer and the second problem is sending the code ASCII 9 (horizontal tab).

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 SQ-2000 understands tabs, it can cause problems (i.e. with graphics). One way to avoid this problem is to use its high-order counterpart ASCII decimal 137. This is achieved by adding 128 to the problem code (128 + 9 = 137).

Any problem codes you find with the QX-10 can be sent directly to the printer with OUT statements. The following routine will send any code (X in the routine) to the printer:

100 IF (INP(&H15) AND &HF8)<>200 THEN 100

110 OUT &H14, X

120 OUT &H17, 0 : OUT &H17, 1

93