
You can now set up the printerby sendingit the file NLQELITE.DAT.To avoidumecessary loggingof
A?COPY NLC?ELITE. PAT PRN
A )PRINT README .DOC
For greaterconvenienceyoucanmakeabatchfde thatwillsetup theprinter and print any specifiedfile with a singlecommand.To createsuch a batch file withthenameNLQPRINT.BAT,typein the firstfourlinesshownnext. ‘Z meansto pressthe CTRLand Z keys simultaneouslyTo. use this file to print README.DOC,type the fifth line.
A ?c@Pj’CON NI.QFT!INT.BAT
COPY NLQELITE . DAT PRN
PRINT %1
A’?NLQpRINT RE7iDME.DOc
The first line aboveis a copy commandfrom the CONsolescreento a file
namedNLQPRINT.BATThenexttwolinesarethecontentsofthisfile..The %1 is a dummyparameter:whateverfile name you type afterNLQPRINT will be substitutedfor 701and printed.
PROGRAMMING WITH BASIC
As an exampleof programmingthe printeron MicrosoftBASIC,we have listed the program for the
1000 | ‘ Set control | cedes |
|
1010 | E$=CHR$(27) | ‘Escape | cqde |
1020 | ‘Draft | quality | |
1030 | N$=E$+’’x1° | ‘Nearletterquality |
1040C$=@+’’kO’’+N$ ‘Couriercharacters
1050S$=E$+’’kl’’+N$ ‘Sarserifcharacters
107002$=E$+’’k8’’+N$ ‘Oratorwith lowercase
1080H$=CHR$(9) ‘Horizontaltab
1090P$=E$+”P” ‘Picapitch
1100 ‘ Startprinting 1110WIDTH“1.Fll:“,255
82