EasyManua.ls Logo

Star Micronics 8 Series - Page 63

Star Micronics 8 Series
230 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Whenyouwantto setallyourlaserprinter’sparametersbacktotheirinitial
defaultvalues(somepeoplecall this “initializing”the printer),send this
command:
<ESC>E
Theprinterwillfinishprintinganypagesleftinitsmemorybeforeresetting
the parametem.Resetting clears unneeded temporary fonts from your
printer’smemory.Anypermanentfontsor macrosyouhavedownloaded,
however,willstillbethereafteryousendaresetcommand.Permanentand
temporaryfonts are describedat the end of this chapter’s“Controlling
Fonts”section.
Example: Printer controls
Let’sseewhathappenswhenweputthesecommandstogether.Sayyouhave
just turnedon yourlaserprinterand selectedLaserJet11emulationon the
frontpanel.Whathappenswhenyousendthefollowingcommandsto your
printer?
<ESC>
Z
<ESC>E
<ESC>&t’2h2X
As a BASICprogramthesewouldlooklikethis:
<NEW
10
WIDTH “LPT1 : ,255
20 LPRINT CHR$( 27 ) ;
Z
30 LPRINTCHR$(27) ; “E”
40 LPRINTCHR$(27) ;&12h2X”
RUN
First, if it is workingproperlythe printerprints a test print with all the
charactersin itsdefaultfontforthisemulation(Courier).
Next theprintersetsallitsparametervalues—includingfeedselectionand
numberof copies—to theirinitialsettings.
Thelastcommanddoestwothings:ittellstheprintertoacceptpaperyouwill
feedin yourself,andtoprinteachpagetwotimes.Thisis handywhenyou
wanttwocopiesof a letteron preprintedletterhead.
55

Related product manuals