.
l:WAV[xlAv[!AvA-v[xAvL\
2:*-(-J
“V indicatesthat the following character isacontrol code. ‘V[ enters
the <ESC>code. <ESC >has character code 27, and “[” is the 27th
character in ASCII sequencefrom A. Similarly, ‘VA enters the control
code z1> and *VLenters the control code <12>. See your DOS manual
if you need further information about EDLIN.
You can nowset up the printer by sending it the fileNLQELITE.DAT.
To avoid unnecessarylogging of commands, switch hard-copy output off
(by pressing CTRL-PRTSC if hard copy is on). To print the file
README.DOC in NLQ elitetype, give the followingtwo commands:
A>COPY NLQELITE .DAT PRN
A)PRINT README.DOC
For greater convenienceyou can make abatch file that will set up the
printer and print any specifiedtile with asinglecommand. To create such
abatchfilewith thename NLQPRINT. BAT,type inthe firstfourlinesshown
next. ‘Z means to pressthe CTRL and Zkeys simultaneously. To usethis
fileto print README.DOC, type the fifth line.
A)COPY CON NLQPRINT .BAT
COPY NLQELITE .DAT PRN
PRINT %1
“z
A>NLQPRINT REA~ME .DOC
The first above line is acopy command from the CONsole screen to
afilenamed NLQPRINT. BAT. The next two lines are the contents of this
file. The ‘XO1 is adummy parameter: whatever file name you type after
NLQPRINT willbe substituted for %1 and printed.
PROGRAMMING THE PRINTER WITH BASIC
As an example of programming the printer in Microsoft BASIC, we
havelisted the program for the IBM-PC that printed the sample of features
shownat the beginning of this manual. This program runs in the printer’s
Standard mode (DIP switch 1-6ON).
40