Star Micronics NX-I 00011 Printer User Manual


 
.
l:WAV[xlAv[!AvA-v[xAvL\
2:*-(-J
“V indicates that the followingcharacter 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 z 1> and *VL enters the control code <12>. Seeyour DOS manual
if you need further information about EDLIN.
You can now set up the printer by sendingit 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 elite type, give the followingtwo commands:
A>COPY NLQELITE . DAT PRN
A)PRINT README. DOC
For greater convenienceyou can make a batch file that will set up the
printer and print any specifiedtile with a singlecommand. To create such
a batch filewiththename NLQPRINT. BAT,typein the firstfour linesshown
next. ‘Z means to press the CTRL 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 REA~ME . DOC
The first above line is a copy command from the CONsole screen to
a filenamed NLQPRINT. BAT. The next two linesare the contents of this
file. The
‘XO1 is a dummy parameter:
whatever file name you type after
NLQPRINT will be substituted for %1 and printed.
PROGRAMMING THE PRINTER WITH BASIC
As an example of programming the printer in Microsoft BASIC, we
have listed the program for the IBM-PC that printed the sample of features
shown at the beginningof this manual. This program runs in the printer’s
Standard mode (DIP switch 1-6ON).
40