-
1
l:*AV[xl^V[!AVAAVIX*VL\
2’*^c!
.
-
I
*E
^V indicates that the following character is a control code. “V[ enters
the <ESC> code. <ESC> has character code 27, and “[” is the 27th
character in ASCII sequence from A. Similarly, “VA enters the control code
< 1 > and ^VL enters the control code < 12 > . See your DOS manual if
you need further information about EDLIN.
You can now set up the printer by sending it the file LQELITE.DAT.
To avoid unnecessary logging of commands, switch hard-copy output off
(by pressing CTRL-PRTSC if hard copy is on). To print the file
README.DOC in LQ elite type, give the following two commands:
i
A>COPY LQELITE.DAT PRN
A>PRINT README.DOC
/
For greater convenience you can make a batch file that will set up the
E
printer and print any specified file with a single command. To create such
1
a batch file with the name LQPRINT.BAT, type in the first four lines shown
next. ^Z means to press the CTRL and Z keys simultaneously. To use this
j
file to print README.DOC, type the fifth line.
t A>COPY CON LQPRINT.BAT
i
COPY LQELITE.DAT PRN
1
PRINT %l
^Z
i
A>LQPRINT README.DOC
The first above line is a copy command from the CONsole screen to
/
a file named LQPRINT.BAT. The next two lines are the contents of this
/
file. The %1 is a dummy parameter: whatever file name you type after
LQPRINT will be substituted for %1 and printed.
!
PROGRAMMING THE PRINTER WITH BASIC
As an example of programming the printer in Microsoft BASIC, we
I
have listed the program for the IBM-PC that printed the sample of features
1
I
shown at the beginning of this manual. This program runs in the printer’s
/
Standard mode (DIP switch l-6 ON).
-
-
-
-.
-
j
38