Laser Printer User Manual

4.7 GRAPHICS
TheStarLaserPrinter4offerstwokindsofgraphics.Itprintsru.stergraphics
(sometimescalled “bit-mappedgraphics”),which specify each dot in a
graphicspattern. And it printspattern gruphics,which prints lines and
patternedblocks.
Be aware,though,that addinggraphicelementsalwaysslowsup printing
withlaserprintem.
4.7.1 StartingRasterGraphics
Thefollowingstepsshouldbeperformed(intheordershown)whenprinting
rastergraphics:
1)Definethe resolution
2) Setthe orientationof thegraphicimage
3) Issuethe commandto startgraphics
4) Issuethecommandto setthecompressiontechnique(if any)of
the graphicaldata
5) Sendthe commandswhichtransferthe graphicsdata
6) Sendthecommandto endgraphics
Beforegraphicsare sentto theprinter,the resolutionmust be set. This is
achievedusingthe followingcommand:
<ESC>*t n R
wheren cantakeavalueof75, 100,150or 300.Thesevaluesrepresentthe
desiredvaluein dots/inch(dpi)of the printedgraphicimage.The default
,resolutionis75dpi.Anyfimtherresolutioncommandswillbeignoredbythe
printeruntila commandto endgraphicshasbeenreceived.
To set the orientationof the graphicimage,transmitthe followingcom-
mand:
<ESC>*r n F
WherencantakeavalueofeitherOor3.Wheren=O,rastergraphicsprinting
willtakeplaceinthelogicalpageorientation,andwhenn=3,rastergraphics
willbeprintedalongthewidthofthephysicalpage,~gardlessofthelogical
pageorientation.
83