I

includeprinter drivers,which send commandsto the printerso you don’t haveto typethem yourself.Someof thoseprogramsask you to key in set- up paramettm about your printer. Other programs let you put printer commandsbeforeor insidethe documentyou wantto print.

Butmaybethe softwareyouusedoesn’thaveprinterdriversfor anyprinter yourStar LaserPrinter4 emulates:You stillmightnothaveto writeprinter cdmmandsyourself.

Severalcompaniessell programsthat look after laser-printingcommands for such software. Ask your dealer about f.userControl,Printworksfor Lusers,PCLPakandRAMResidentPrintmerge.There’snotmuchpointin reinventingthe wheel.

2.5.2 The Star LaserPrinter4 superset

Besides the commands that emulate other printers, your laser printer understandsfour other commandscalledthe Star LaserPrinter4 superset. The Star LaserPrinterahvaysunderstandssupersetcommands;it doesn’t matterwhichemulationmodeyourprinteris usingatthe moment.Superset

Escape sequencecommandsstart with ~Sb [ so you can quicklyspot them in a list of commands.

Onesupersetcommandgivesyouanotherwayto switchfromoneemulation to another:you send the ChangeEmulationsupersetcommandinsteadof usingthe controlpanel.The secondsupersetcommandlets you changethe printingorientation,so you can print sidewaysup the lengthof the page, insteadof acrossitswidthintheusualway.Thethirdsupersetcommandlets yotichangethepapersize.Thefourthsupersetcommandletsyouchangethe paper cassette.

2.5.3 The ChangeEmulationcommand

YoucanthinkofthesupersetChangeEmulationcommandasthekeyto your Star LaserPrinter4. The ChangeEmulationsupersetcommand lets you switchfmm one set of printercommandsto another“on the fly,” through software.

ThisisthecommandthatdefineswhatothercommandstheStarLaserPrinter 4 will accept.WithChangeEmulationyouindicatewhichprinteremulation programyou wantthe printerto use.

27

Page 33
Image 33
Star Micronics manual Star LaserPrinter4 superset, ChangeEmulationcommand