Star Micronics NX-1001 User Manual page 91

Multi-font
Table of Contents

Advertisement

I
You can now set up the printerby sendingit the file NLQELITE.DAT. T o
avoidunnecessaryloggingof commands,switchhard-copyoutputoff (by
pressingCTRL-PRTSCifhardcopyis on).ToprintthefileREADME.DOC
in NLQ elite type, give the followingtwo commands:
A)COF'Y
NLQELITE
. PAT
PRN
A ,>PRINT
README . DOC
For greaterconvenienceyoucanmakeabatchfflethatwillsetup theprinter
and print any specifiedfde with a singlecommand.To createsuch a batch
filewiththenameNLQPRINT. B AT,typein the firstfourlinesshownnext.
AZ mems topRSS theCT'RL and
Z
keys simultaneously.
T O 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 line aboveis a copy commandfrom the CONsolescreento a fde
namedNLQPRINT. B AT.Thenexttwolinesarethecontentsofthisfile.The
%1 is a dummyparameter:whateverfile name you type afterNLQPRINT
will be substitutedfor 901and printed.
PROGRAMMING WITH BASIC
As an exampleof programmingthe printeron MicrosoftBASIC,we have
listed the program for the IBM-PC. This program runs in the printer's
Standardmode, and the downloadablecondition(DIP switch 1-1 ON and
DIP switch 1-2 OFF).
1000 ' Set
control
cedes
1010 E$=CHR$
( 27)
'Escape
code
1020 D$-m+''xo"
'Draft quality
1030 N$-E$+''x1°
'Near letter
quality
1040 C$-m+''kO''+N$
'Courier characters
1050 S$-E$+''kl''+N$
'Sanserif
characters
1060 01$-E$+''k7''+N$
'Orator with smal 1 capital
1070 02$-E$+''k8''+N$
'Orator with lower case
1080 H$-CHR$ ( 9)
'Horiz.Ontal tab
1090
P$=E$+"P"
'Pica pitch
1100 ' Start
printiq
1110 WIMH "LFT1 : ",255
82

Advertisement

Table of Contents
loading

Table of Contents