Star Micronics 8 Series Applications Manual page 89

Star micronics laser printer applications manual
Table of Contents

Advertisement

featurethis way,the printerwillunderlineall subsequentprintablecharac-
ters, includingspaces.
Send this commandto turn on the underliningmode:
<ESC>&d n D
in whichfor n you put O(zero)to get fixedunderline,
or 3 to get floatingunderline.
And send this commandto turn off the underlinemode:
<ESC>&d @
How to print Escape sequences and control codes
You use bothEscapesequencesand controlcodesto print. So how do you
print Escapesequencesand controlcodes?
Butyouactuallycanprintcommands,andin twodifferentways.Youwould
do this whenyouwantto seeeverythingexactlyas it is sentto theprinter—
for example,to debuga stringof text and commandsthat docsn'tprint the
way you think it should.
The Transparentprint commandprints the string of data that follows it
without paying attentionto any embeddedEsca~ sequencesor control
codes.TransparentprintevenprintsCarriageReturncodeswithoutzapping
the print positionback to the left margin.
To uscTransparent p rint,justputthiscommandimmediatelyinfrontof your
print data:
<ESC>&p n X
For n you specifythe numberof bytesof data you wantto print .
Display Functions, like the Transparentprint command, prints Escape
sequcnccsand controlcodeswithoutactuallyexecutingthcm. ButDisplay
Functionspays attentionto CarnageReturncodes,so text looksmore like
the way it normally prints. Display Functionsalso prints commandsas
blanks,not as symbols.
DisplayFunctionsactuallyinvolvestwoEscapesequences, o neto turnit on
andanotherto turn it off.To turnon DisplayFunctions,sendthiscommand
just before the data you wantdisplayed:
<ESC>Y
81

Advertisement

Table of Contents
loading

This manual is also suitable for:

Laserprinter 8 series

Table of Contents