EasyManua.ls Logo

Star Micronics 8 Series - Page 89

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...
featurethisway,theprinterwillunderlineallsubsequentprintablecharac-
ters,includingspaces.
Sendthiscommandto turnon theunderliningmode:
<ESC>&d n D
in whichfor n youput O(zero)to getfixedunderline,
or 3 to getfloatingunderline.
Andsendthiscommandto turnofftheunderlinemode:
<ESC>&d@
How toprint Escape sequences and control codes
YouusebothEscapesequencesandcontrolcodestoprint.Sohowdo you
printEscapesequencesandcontrolcodes?
Butyouactuallycanprintcommands,andintwodifferentways.Youwould
dothiswhenyouwantto seeeverythingexactlyasitissentto theprinter—
forexample,to debuga stringof textandcommandsthatdocsn’tprintthe
wayyouthinkit should.
The Transparentprint commandprints the string of data that follows it
withoutpayingattentionto any embeddedEsca~ sequencesor control
codes.TransparentprintevenprintsCarriageReturncodeswithoutzapping
theprintpositionbackto theleftmargin.
TouscTransparentprint,justputthiscommandimmediatelyinfrontofyour
printdata:
<ESC>&p n X
For n youspecifythenumberof bytesof datayouwantto print.
Display Functions,like the Transparentprint command,prints Escape
sequcnccsandcontrolcodeswithoutactuallyexecutingthcm.ButDisplay
Functionspaysattentionto CarnageReturncodes,so textlooksmorelike
the way it normallyprints. DisplayFunctionsalso prints commandsas
blanks,notas symbols.
DisplayFunctionsactuallyinvolvestwoEscapesequences,onetoturniton
andanothertoturnitoff.To turnonDisplayFunctions,sendthiscommand
just beforethedatayouwantdisplayed:
<ESC>Y
81

Related product manuals