Laser Printer User Manual

EachFX-850emulationgraphicscommandyou senddoesthreethings:it
turnsonthegraphicsmode,specifieshorizontaldensity,andsayshowmany
columnswidethecominggraphicsdatawillbe.
Graphicscommandsallprintatthesameverticaldensityor “resolution”—
72dotsperverticalinch.Thecommandsalllookthesame;wheretheydiffer
is in horizontaldensity.
Here’ske commandforthe 60 dots-per-inchdensity:
<ESC>K nl n2
The n2 is thenumberof 256-columngroups(eitherO,1or 2). Andthe n]
representsunits,the numberof leftovercolumns.
So to printjust 150columnsof graphics,you wouldsendthiscommand:
<ESC>K 1500
Thattranslatesto 150+ (Ox 256)= 150columns.
Buttoprint260columnsofgraphicsatthesamedensity,youwouldsendthis
command:
<ESC>K 4 1
Thisonetranslatesto 4 + (1 x 256)= 260 columns.
Rememberto put exactlythe
rightnumberof columnsin yourcommand.
Otherwiseyou’ll inadvertentlyuse text as graphicsdata, or vice versa.
Anotherhint:inBASIC,theWIDTHstatementcanhelpyoukeepunwanted
carnagereturnsfrommessingup yourgraphics.
5.6.3 Othergraphicsdensities
Let’ssummarize:Whenprogramminggraphics,youfirstsetthelinespacing
toproducetheeffectyouwant(typicallyat7/72or8/72inch).Thenyousend
yourgraphicscommandanddata.Finally,you resetline spacingand any
othertextsettingsas needed.
How do text settingsaffectgraphics?Neitherextendedprintnor double-
stnkeboldworkin graphicsmode.The<DEL>commanddoesn’tworkin
graphicseither.And if you’reusing“mostsignificantbit”settingsfor an
olderkindof computer,graphicsmodeignoresthem.
OK,let’shavea lookat graphicscommandsfordifferentdensities.
114