Star Micronics LC-20 Printer User Manual


 
I youprintfromtheDOScommandlevelveryoften,itwillbeadvantageous
to createaprintersetupfde. Theninsteadof settingfontetc.manuallyeach
time, you can compIete the setup with a single command from your
computer.For example,youcancreatea filecontainingprintercommands
to selectnearletterquality,and selectelitepitchwiththe Standardmode.
Youcan findthe commandsin Chapter4. We suggestthefollowing:
~ Near letterquality
<ESC> “l”
Elitepitch
<ESC> “!”
<1>
<ESC>“!” <1>is a powerfulcommandthat,in additionto selectingelite
pitch,cancelsunwantedfeaturessuch as underliningwhichmightbe left
from previous commands.The angle brackets around the cl> indicate
charactercode 1,whichis a controlcode,notthe printabledigit“l”.
You may wantto placeadditionalcommandsin thisfile, such as left and
rightmargins,linespacingandbottommargincommands.Oryoumaywant
to createa varietyof setupfdes with a differentset of commandsin each.
To avoidexcessline feeds,youshouIdpIacethecommandsononeline in
thesetupfile.Youmayormaynotbeabletogenerateasetupfilewithword-
processingsoftware;it dependson whetheryour softwarelets you enter
controlcodes.If yoursystemincIudesthe fileEDLIN.COM,however,you
can easilycreatea setupfile withthe DOSline editor.
An appropriatenameforthissetupfilewouldbeNLQELITE.DAT.Touse
theDOSlineeditor,typethecommandEDLINNLQELITE.DAT,thentype
theunderlinedpactsofthefollowingdisplay.PressRETURNattheendof
eachline.Don’ttypethesymbol“A”.ThissymbolmeanstoholdtheCTRL
keydownwhilepressingthenextkey:forexample,‘V meanstotypeCTRL-
V. whichindicatestheendof theinput.
A)EDLIN NLQELITE . DAT
..._————.———....-..—..—.,-
New f i le
‘V indicatesthatthe
*.X1X1
“’v[:“VA
—......—..——_.—
*“C
followingcharacteris a controlcode.‘V[ entersthe
<ESC>code.<ESb has charactercode27, and“[” is the 27th character
fromA inASCIIsequence.Similarly,‘VA entersthecontrolcode<1>.See
yourDOS manualif youneed furtherinformationaboutEDLIN.
81