4.7GRAPHICS
TheStarLaserPrinter4offerstwokindsof graphics.It printsru.stergraphics (sometimescalled
Be aware,though,that addinggraphicelementsalwaysslowsup printing with laser printem.
4.7.1 StartingRasterGraphics
Thefollowingstepsshouldbeperformed(intheordershown)whenprinting raster graphics:
1)Definethe resolution
2)Set the orientationof the graphicimage
3)Issue the commandto start graphics
4)Issuethe commandto set the compressiontechnique(if any)of the graphicaldata
5)Send the commandswhichtransferthe graphicsdata
6)Send the commandto end graphics
Beforegraphicsare sent to the printer,the resolutionmust be set. This is achievedusing the followingcommand:
<ESC>*t n R
wheren can take a valueof 75, 100,150or 300.Thesevaluesrepresentthe desiredvalue in dots/inch(dpi) of the printedgraphicimage. The default ,resolutionis 75dpi.Anyfimtherresolutioncommandswillbe ignoredbythe printeruntil a commandto end graphicshas been received.
To set the orientationof the graphicimage, transmitthe followingcom- mand:
<ESC>*r n F
WherencantakeavalueofeitherOor 3.Wheren=O,rastergraphicsprinting willtakeplacein thelogicalpageorientation,andwhenn=3,rastergraphics willbeprintedalongthewidthofthephysicalpage,~gardlessof thelogical page orientation.
83