
“V indicates that the following character is a control code. “V[ enters the <ESC> code. <ES0 has character code 27, and “[,‘ is the 27th character from A in the ASCII sequence. Similarly, “VA enters the control code cl>. See your DOS manual if you need further information about EDLlN.
You can now set up the printer by sending it the file NLQELITFDAT. To avoid unnecessary logging of commands, switch
A>COPY NLQELITE.DAT PRN
A>PRINT README.DOC
For greater convenience you can make a batch file that will set up the printer and print any specified file with a single command. To create such a batch tile with the name NLQPRlNT.BAT, type in the first four lines shown next. *Z means to press the GIRL and Z keys simultaneously. To use this file to print README.DOC, type the fifth line.
A>COPY CON NLQPRINT.BAT
COPY NLQELITE.DAT PRN PRINT %1
*Z
A>NLQPRINT README.DOC
The first above line is a copy command from the CONsole screen to a file named NLQPRlNT.BAT. The next two lines are the contents of this file. The
%1 is a dummy parameter: whatever file name you type after NLQPRlNT will be substituted for %l and printed.
100