Resolution: High resolution i.e, maximum 90,000 dpi
Built in Fonts: Available in 4 fonts: Courier, Prestige Elite, Tms Romn, Line Printer
Font Sizes: The size ranges from 8.5 to 12 points
Memory: 1 MB RAM (Upgradeable up to 2 MB) and 512 ROM
Versatile Connectivity: Serial and Parallel interfacing
Emulation Support:
HP LaserJet II
Epson EX-800
IBM Proprinter
Xerox Diablo 630
Paper Handling: Cassette and hand fed
Supported Paper Sizes:
Letter (8.5 x 11)
Legal (8.5 x 14)
A4 (210 x 297 mm)
Executive (7.25 x 10.5)
Envelopes and others
Command Compatibility: Supports ASCII and Escape sequences
Operating System Support: Works with wide range of commercial software applications
Additional Features: Capable of graphics printing, funnel supporting many character sets, graphics, printing on different media like envelopes, transparencies, etc.
Frequently Asked Questions
Q: Which types of connections are supported by Star LaserPrinter 8?
A: There’s support for parallel and serial connection for Star LaserPrinter 8.
Q: How can I change the fonts on the Star LaserPrinter 8?
A: There are several ways including using built in fonts, purchasing additional cartridges, or transferring computer fonts onto printer disks.
Q: What is the max print speed of the Star LaserPrinter 8?
A: Star LaserPrinter 8 has the ability to produce 8 pages in a minute.
Q: What emulations does the Star LaserPrinter 8 support?
A: Emulations supported include HP laser jet series II, Epson ex800, IBM Proprinter, Xerox Diablo 630 emulations as well.
Q: How much memory does the Star LaserPrinter 8 have?
A: For RAM the device ships with 1 MB but its upgradeable to 2 MB while for ROM the printer has 512 KB.
Q: Does the Star LaserPrinter 8 support printing envelops?
A: The manual feed allows for the printer to support technologically advanced printing on multiple envelope types and sizes.
Q: Which types of paper does the printer take?
A: The Star LaserPrinter 8 is able to take standard paper, legal paper, A4 paper, executive paper and even numerous sizes of envelopes.
User Manual
L8
Series
AM
8
Series
Applications Manual
Trademark Acknowledgements
LaserPrinter 8: StarMicronicsCo., Ltd.
PageMaker: Aldus CqSOraticsr
Apple II +, Applesoft: Apple ComputerInc.
BitStream,~apf Humanist: BitstreamInc.
Canon: CanonInc.
Centronics: CentronicsData Computer Corporation
HP, LaserJet Series H: Hewlett-PackardCompany
LaserControl: InsightDevelopmentfrrc.
IBM PC, IBM Proprinter: InternationalBusinessMachinesCorp.
Optim~ Century Schoolbook: LinotypeCorporation
Lotus 1-2-3: Lotus Development CorporationMS-DOS, Microsoft BASIC, Windows, Word, Microsoft BASIC: Microsoft Corporation
MultiMate: Muhrrratefntemational
TRS-80: RadioShack, a division of TandyCorporation
. Alf rights reserwed.Reproduction of any part of this manual in any form whatsoever without
STAR’s express permission is forbidden.
. The contents of this manual are subject to change without notice.
. AUeffons havebeen made to ensure the accuracy of the contents of this manual at the time of
press. However, sbould any errors be detected, STAR woufd greatly appreciate being informed
of them.
. The above rrotwithstarrding,STAR can assume no responsibility for any errors in this manual.
@Copyright 1989Star Micrcstics Co., Ltd.
PREFACE
About this manual
ThisSrarLuserPrinter8ApplicationsManual givesyou the information
youneed to programthe StarMicronicsLaserPrinter8.
Whywouldyoureadthisbook? Mostpeopleusingalaserprinterjust run
theircomputerssendtheirprinters.Butmanyofus-small businesspeople
and homecomputerusers, not to mentionthe wizards who write those
softwarepackages—wanttobenefitfromallthenewfeaturesofferedbyour
printers.
Doyouwantcompletecontroloverthecharactersandimagesyoupnnt? Do
youwantto makeyourStarLaserPrinter8worklike someearlierkindof
printer? Thismanualprovidesthesoftwarehelpyouneedto getthemost
fromyourLaserPrinter8.
Thoughthis ApplicationsManual is reallyintendedfor intermediateto
advancedcomputerusers,we’vetriedtoaccommodaterelativenovicestoo.
The informationis organizedso youcan walkthroughthegeneraltheory
underlyingprinterprogrammingbeforedancinginto specificdetails. It
makessense,therefore,to readthe firstthreechaptetxbeforejumpinginto
themiddle.
There’sagoodreasontoreadeachchapterfromitsstarttoo.Peoplelearning
howtouseanewprinteroftenfindtheterminologya barrier. Soinsteadof
buryingwhatmaybencwjargonin a Glossaryattheback,wedefineeach
newtermthefirsttimeitappears.Thewholefirstpartofthechapteronfonts,
forexample,definesdifferentaspectsofafont (acollectionofcharactersof
thesamesize and style).
What’s in this manual?
.
In “Gettingto KnowYourStarLaserPrinter8“we providea listof the
featuresthat make this a splendidprinter,to help you choosewhich
featuresyou wantto exploit. There’sabit on how laserprinterswork,
inside andout. Thechapterthenexplainssoftwareingeneralterms,including how to write controland Escape commandsto make those
featureswork.
.
“ControllingYour Printer” examinesthe parameters and “superset”
Formostof us, the“Fonts”chapterwillbeuseful: howtousethefonts
built i_ntothe LaserPrinter8, plus those that come on cartridgesor
computerdisks.
.
Youmay neverlook at more than one or two of chapters4 through7,
which cover Star LaserPrinter8 commands. Your LaserPrinter8
emulatesotherprintem:itimitatesotherpnntembyacceptingthesame
commandstheydo. JustthinkofyourStarLaserPrinter8 asfourprinters
hidinginsideoneunit.
Ifyouwanttowriteormodifyaprogramthatusesoneoftheseprinters—
the Hewlett-PackardLaserJetseriesII,EpsonEX-800,IBMProprinteror
ThechapterontheLaserJetseries11islongerandmoredetailedthanthe
others.That’sbecauseyouaremorelikelytouselaserprintercommands
than commandsfor dot matrixor daisywheelprinters. (If you have
softwaredesignedonly for dotmatrixor daisywheelprinters,youmay
have manualsfor those printers anyway.) We recommendyou use
LaserJetseriesII emulationwheneverpossible,withEX-800emulation
as yourbackupmode.
Incidentally,oneofthoseTechnicalSupplementtablessuggestsa coupleof
typographicconventionswe’lluse.Baseten(decimal)numberswillgenerallybe usedhere;if we haveto use base sixteennumbers(hexadecimal)we’llexpresslysayso.
Andsecond,thelowercaseLispracticallyidenticaltothenumberone(1vcrsus 1). BecauselowercaseL is usedinmanycommanddescriptions,we’ll
usethecharactert’toavoidconfusion.
The Star LaserPrinter 8 Operations Manual
ThismanualisthecompaniontotheStarLaserPrinter8OperationsManual
thatcamewithyourprinter. Alaserprinteris a fairlycomplextoolthatrequirescareanddelicatehandling.SotousethisApplicationsManual best,
makesureyouunderstandthatOperationsManual first.
Your OperationsManual holds essentialinformationabout the Lascr-
ThischapterintroducesboththehardwareandsoftwareaspectsoftheStar
LaserPrinter8’s personality,from fonts and print engineto ASCII and
Escapesequences.
STAR LASERPRINTER 8 HARDWARE
Versatility
YourStarMicronicsStarLaserPrinter8workswithpracticallyallcommcrcialsoftwareprogramsandcomputers.WithfeaturesthatgobeyondStar’s
easy,affordable9-pinand fast,quality-printing24-pindotmatrixprinters,
the Star LaserPrinter is the logicalnext step in the series of fine Star
Micronicsprinters.
Your Star LaserPrinter 8 produces pagesthat look close to typeset quality,
with up to 90,000 dotsper squareinch— no more NLQ (near letter quality)
compromises.
minute,These numberstranslateto aboutfivetimes more resolutionand
speedthantheaveragedot-matrixprinter.
Star’snewprinterisremarkablyversatile.Youcanprintcomplicatedforms
(widthwiseif you want) ... detailedgraphs... yourown customizedtypestyles... digitizedphotographs... otherlanguages(includingArabic and
Japanese).
The Star LaserPrinter8 produceseight of those pages a
Youcan evenprintyourletterheadandlogo as you print yourletter, and
reprintthem directlyonto a businessenvelope.You don’t even need to
removethepapertraytoprinttheenvelope:justslideitintothe manualfeed
slot.
1
The StarLaserPrinter8isidealfordesktoppublishing.Thepagesitproduces
makeperfectphotocopyor instant-printmasters.And all themaindesktop
publishingsystems,includingAldusCorporation’sPageMakerandXeroxVenturaPubisher,worksplendidlywiththeStarLaserPrinter8.With’’page
makeup”programsliketheseyouwillbeable—maybeforthefirsttime—
to delivercommunicationswiththe impactof top-notchgraphics.
8.5pointsto 12pointsin size(apointis about1/72of an inch).
Thesefontsarc:
Courier
Tms Romn
PrestigeElite
Lino Pr i ntar
Besidesfiese, youmaybe ableto useoptionalcartridgesanddisksto give
yourStarL&serPnnter8 a varietyof extrafonts,suchas these:
Helvet
linedrawing
LetterGothic presentationfonts
Bar codesopticalcharacterreaderfontsuniversalproductcode
You can load your Star LaserPrinter8’smemory with fonts stored on
computerdisks. Literallyhundredsof fontsare marketedby font-supply
companies.Somefontsareevenobtainablefromcomputer“usergroups”or
“electronicbulletinboards”.Fontsyougetthiswayareinthepublicdomain,
whichmeansyou don’tneedto pay a licencefee to usethem.
Ask your Star LaserPrinter8 dealeraboutresourceslike these. Desktop
publishingwith laser printersis fast-changingterritory, and some Star
Micronicsstaffpeoplehavefoundelectronicbulletinboardsandcomputer
usergroupsquitehelpfulinkeepingupwiththechangingpace.Ifyouinvest
a littletimethiswayit may repayyou’well.
the link or boundaryit shares with yourcomputer,defineswhetherthe
printerwillacceptcharactersandcommandsfromyourcomputeronebyte
or one bit at a time.
Abitisthesmallestunitofcomputerorprintermemory.Ithaseitheralow
orhighelectriccharge,whichwerepresentwiththedigitsOand1.Usually
eight adjacentbits are groupedto form a byte. Since a byte normally
It’s tie print enginethat forms the actualcharactersand graphics.The
enginedirectsitslaser,apinpointstreamoflightpulses,throughmirrorsand
lensesontothe surfaceof a positively-chargedrotatingdrum.
Finallythepaperslidesintotheoutputbin.Thepaperusuallycomesoutface
downso it stacksin the correctsequence.
4
STAR LASERPRINTER 8 SOFTWARE
Binary and hexadecimal arithmetic
If you alreadyknow what hexadecimalnumbersare, you can skip this
sectionandgo aheadto readaboutASCII.
The decimalnumbersystemwithwhichwe’re all familiaris apositional
counting system. There’s the
“hundreds”positionandsoon.Eachhigherpositionisworthtcntimesmore
thanthepositionto therightof it, sincethedecimalsystemusesthebaseof
ten.Moreover,weneedtensymbolstoshowtheactualvaluesthatmaybe
in eachposition.
Wheredoes the StarLaserPrinter8 get the charactersand instructionsit
needsto print in the first place?It getsthem fromyourcomputer,which
sendsa streamof text andcommandstoyourprinter.
Theprogramin yourcomputerthatcontrolseverythingsentto the printer
(calledthe printer driver) will usuallybe includedwith your computer
programsrsuchasyourwordprocessor.Butthecommandscouldalsocome
fromaprogramyou’vewritten,perhapsinBASIC,aprogramminglanguage
thatusescommonEnglishwords.
Internally,computemandprintersuse only the binarynumbersystemto
representboth commandsand all the alphabetic,numericandother keyboardsymbols.Nearlyallof thosemachinesusethesameschemetocode
thosesymbols,theAmericanStandardsCodeforInformationInterchange
(ASCII).‘
Anexample:inourfamiliardecimalsystem,binary01001010addsuptothe
number 74. Dependingon which program your printer is using, it can
interpretthatbinarystring01001010aseitherthenumber74orthesymbol
J. TheprinterstoresthesymbolJ atposition 74 in a tablein itsmemory.
Thateight-bitbinarystring,orbyte,canbebrokenintotwohalves.Theleft
orhigh-orderpartcontaining0100iscalledthe zoneportion;therightpart
holdingthe1010iscalledthedigitspdion. Andinthehexadecimalnumber
system,the zone and digit parts of that byte are representedas 4 and A
respectively(lookthemup in the list above).
SothelaserprinterunderstandsthesymbolJ as01001010,whichwecan
alsorepresentas the decimalnumber74 or thehexadecimalnumber4A.
We’veprintedthisbyteverticallyandhorizontallybelow,showinghowit
addsup to decimal74 andhex 4A.
6
=
= 64
=
n
=
=0
=
=
o
o
o
8
2
Q
o x 27
1x 26
0x25
0x 24
23
1x
x 22
0
1x 2’
ox 2°
74Decimal
zone
0100
4
digits
1010Binary
A
Hexadecimal
The ASCIItablein the TechnicalSupplementshowsallthese equivalent
representationsfor thesymbolsyourlaser printerunderstands.The table
organizesthemin ascendingorder.Infact,ASCIIisorganizedin awaythat
ac@allymakessense.
Flipbacktherefor a quicklookrightnow.Seehowyoucanslicethetable
into clumpsof 16 or 32, basedon what’s in the zone portionunder the
hexadecimalcolumn?Theseclumpsmakesubgroupsof similarsymbols:
● hex00 to IF arethe commandsymbolscalledcontrolcodes,
● hex 20 to 40 arcthecommonkeyboardsymbolsandnumerals,
● hex41 to 60 arecapitallettersandthelesscommonkeyboardsymbols,
● hex’61to 7F arelowercaselettersand a few finalsymbols.
That takes care of the first 128 ASCII symbols.However,nearly every
co’mputerand printer manufacturertreats the second half of the table
differently. Hewlett-Packard,for example, puts a variety of accented
foreignlanguagecharactersintopositions128-255(oftenreferredtoashighASCII). Epson gives you a choice of either italics characters or IBM
charactergraphics.
Controlcodesmostlyhandlecommunicationsbetweenyourcomputerand
thepnnter.atthelowestlevel,atcablelevel.Forexample,acoupleofcontrol
codesmakesuretheprinterbufler(yourprinter’sstoragememory)doesn’t
overflow. In this book we’ll indicatecontrol codes enclosedby angle
bracketsto their abbreviationsin the table:<FF> meansthe FormFeed
controlcode,whichadvancestheprinterto thenextpagejustasthePRINT
buttondoes.
Escape sequences
Controlcode 27, <ESC> or Escape, is a particularlyimportantone for
printers.Totell yourprinter allthe thingsyou might need— setting margins,
saying where to print, choosing a particular font, starting graphics and so
on— requires many more than just two or three dozen control codes. So the
<ESC> control code has a special meaning: <ESC> means “the next
character specifies a command, not something to be printed”.
Thereforeif yousendjust thecharacter4 totheprinterit willprinta 4 and
that’sall. 13utifyousendthe<ESC>codejustbeforethe4 thentheprinter
(in EX-800
codes this way gives you many more commands to control
mode) will switch over to italics text. Extending the control
yourprinter.in
In this book we’llleavespacesbetweencharacterswhenwe showescape
sequences.You’llfind
<ESC>
a bitmorereadablethan
<ESC>(sOp10h12vOs3T
Butrememberthat youarenotto sendthose spacesifyousendcommands
to theprinter.
To sumup, printercommandsareoftwotypes.A controlcodeis a singlecharactercommandthattellsyourprintertodosomething,likemovedown
oneline.AnEscapesequencecontrolsa printeroperationtoo,butis more
thanone characterlong.Sincetheyarecommands,neithercontrolcodesnor
escapesequencesamusuallyprintablecharacters.
Manyprogramsaskyouto installor configureyourprinter,whichusually
meanskeyingintoamenutheparticularsetupinformationdescribingyour
StarLaserPrinter8.Youentersuchthingsashowyouwant to underline,
alterlinespacing,ormoveto a newprintposition.
If youhavetroubleusingaparticularprogramwithyourStarLaserPrinter
8, you’ll probably get answers most quickly by asking your software
supplierhowtheprograminteractswithyourprinter.
Withouta printerdriver,sendingcontrolcodesand Escapesequencesto
yourprinterproperlyrequiressomeknowledgeofaprogramminglanguage
likeBASICor Pascal,or at leastofhowto put suchcodesintoa program.
Withprogramminglanguages,thecomputerdoesn’tacton thecommands
youput intoa programuntilyoutellit to runthatprogram.
Whenyougivea commandto the printerfroma computerprogram,you
normallyentereachpartofthecommandasaseparatecharacter.Thisway
youdon’taffectanythingelsehappeningon thecomputer.Youoftensend
eachcodeor characterin thecommandbygivingitspositionin the ASCII
table,as a decimalor hexnumber.
9
A BASIC example
Here’s anexample you can typoin right now, to clarify what we’re saying.
It’s
writtenin MicrosoflBASICfor a computerthat uses the MS-DOS
operatingsystem,soif you havea differentcomputeror BASICyoumay
haveto translateabit.We’11showcommandsthewaythey’rewrittenforan
Epsondot-matrixprinterbecauseyourStarLaserPrinter8understandsthose
commands.
TheLPRINTcommandsallsenddatatotheprinter.Ifthedataissomething
youwantprintedyoujust put it in quotationmarks.If thedatais a control
codeyoujustsaywhereitisintheASCIItable,givingitspositionasaregular
decimalnumber.
BASICusuallysendsacarnagereturnafterevery80characters,tokeepthe
print positionmovingwhenit hitstheendof a line.Unasked-forcarriage
returnscanmessup yourprinting,however,so ii’s a goodhabitto putin a
WIDTHstatementas shown.Thatlets us printoverthe wholepagearea.
The<BEL>controlcode—ASCIIcode7— issentinBASICasCHR$(7).
The <ESC>codeitself isCHR$(27).Andbecausewe’reusingthecharacter
part of an <ESC>command,we typeCHR$(52)insteadof“4”.
Mostprogramminglanguages,andsomeversionsof BASIC,letyoutreat
theprinterasa fileto whichyoucansenddata.Whenyou writea program
withone oftheselanguagesyou“open”the printerfile,printintoit,andthen
“close”thefilewhenyou’redone.Thisprogrammingjargonsoundsfunny
if you‘renot usedto it—butit works.
Afewprogramminglanguagesletyousendcommandsto theprinterathird
way. Applesoft BASIC is one. With it, you can switchbetweenprinter
outputand screenoutput.
Printer emulations
You noticedthat we said“in EX-800mode”up there?Your Star LaserPrinter8respondstothesameescapesequencecommandsthatseveralother
printersuse.BeingabletoemulateprintersliketheDiabloorEpsonEX-800
letsyouuseyourStarLaserPrinter8 witholderprogramsthathaven’tbeen
updatedtotakeadvantageoflaserprinters.Infact,becauseitemulatesfour
of themostpopularprinters,youcan usethe Star LaserPrinter8 withjust
about any microcomputerprogramaround.
Unfortunatelythose printers often use different escape sequencesfor
exactlythe same function.Those printers,moreover,provideescape sequencesfor functionsthe Star LaserPrinter8 doesn’tneed, such as the
YoucancontrolyourStarLaserPrinter8 intwoways,eitherthroughfront
panelparameters or throughsoftwarecommands. In thischapterwewill
considerprinter controlsmostly from theperspectiveof the front panel.
However,we’llalso meet four specialcommands,the StarLaserPrinter8
superset.
Throughout this manual we approach parameters and commands the same
way:overall pnnter-level controls first, then page-level controls (layout and
print position movements), and finally character-level controls
graphics).We’lldiscussthesein generaltermsin this chapter.
Thespecificcommandsyoucansendto yourprinterto makeit emulare,or
worklike,otherprintersare describedin chapters4 through7. The most
importantfactabout printercommands,though,is thatyoumay not even
needto knowhowto usethem.If yoursoftwaresystemsincludetheirown
printer drivers, you may want to read only this chapter and skip all of
chaptem4 through7.
those buttons down, rather than quickly pressing it, selects a different
operation.Forexample,holdingdown the TEST/PREVIOUS buttonfor
overfivesecondsmakesthe StarLaserPrinter8printits testpattern.
Parameter settings
Fromthe panelyoucan also changethe parametersthatdefinehow your
printerworks.Parameter
earlierkinds of printers, you’llunderstandthat laser printer parameters
controlprettymuchthesamethingsDIPswi~chesdo.(ADIPswitchor’’dual
in-linepackageswitch”isasetofsmallswitchesthatcontrolvariousprinter
functions.)
The printerstorestheseparametersaseasy-to-useprogrammenuitemsthat
Yourmainuseforthefrontpanelwilllikelybetosetthedefaultsettingsyou
want for these parameters.However, you will probablyfind the panel
convenienttoo when you want to switchbetweenmanualand automatic
FactorysettingsarcprogrammedintotheStarLascrPnntcr8whenitisbuilt
at the factory.Yourprinterkeepsthe factorysettingsfor iLsparametersin
ROM;theyncvcrchangc.Youcancopythcmiruothecurrentsettingsor any
other settingsas needed.Butthe onlyway you can returnto the factory
dcfaulLsis fromthe frontpanel;no commandsdo this.
A few
factory default settings arc as follows:
Itcm
Emulation
Fccdcr
Number of’Copies 1
Oricntatim
Font1(1-pitch12-point
Factory default setting
HP LaserJet series II
Paper cassctle
Portrait
Councr(intcmal)
Lines/inch6 linesper inch
The power-onsettingsarc the normaldefaultsettings.The printer keeps
Youprobablywillnotof’tcnchangetheStarLaserPrinter8‘sinitialsettings
(sometimescalled“sessionsettings”).You’lllikelyonlychangethcmwhen
you want to use a differentpnntcr cmulationthan normal.These initial
settingsstaythe sameas thepower-onsettingsuntilyouchangethcm.
Withthe pnntcroffline,ifyoupressthePROGRAMbuttontheprintergoes
into“program”mode.You can then step throughthe laser printer’sfour
ICVCISof programmenu to configureyourprinlcr.That’sthe processof
changingcertainprintersettingssoyourcomputerandprintercancommunicateproperly.
anotherversion.Two movethe currentparametervaluesinto either the
initialor power-upparameters.Thefinalmenuoptiongoesthe otherway,
lettingyouloadthefactoryparametersettingsasyourcurrentsettings.
CONTROLLING THE PRINTER
In thissectionyou’llmeettwo separatecontrolsoverhowthe Star LaserPrinter8 itselfworks.TheINTERFACEparametercontrolscommunicationsbetweentheprinterandyourcomputer.AndtheCOMMANDparameterdetermines,amongotherthings,whichsetofcommandstheprinterwill
use. You can set theseINTERFACEand COMMANDparameterson the
frontpanel.
The INTERFACEparameter
The INTERFACEparameter,the most basicof the Star LaserPrinter8’s
The Rateparameterspecifieshow fast data willbe arriving,measuredin
baud(namedaftertheFrenchcommunicationsengineerJeanBaudot).pick
anyof thefollowingdatatransferrates:
fast your computer will transmit, the general rule is to cxpcrimcnt. Try
sending a page to print at the highest speed, and
workyourwaydownuntil
thepnntcr’soutputlooksOK.
Serial interface: special bits
In-Serialmodeyou’llalsohaveto specifyif yourcomputersendsdatabits
in groupsof seven(mostcomputerssendeight,thedefaultfor a byte).
Somelimesanextrabit gets appendedto makethe sumof all bitsin each
characteralwaysoddoreven;that’scalledparity. Aparitybitcanhelpspot
transmissionerrors.Ifyourcomputersendsthatextraparitybit,you’llhave
to say whether it produces an even or odd numberof “on” bits in the
character.
You’llalsohavetoindicateifyourcomputersendstwostopbitstoindicate
thecndof a byte,insteadofone,thedefault.Theseserialintcrfaccsettings
aredcscnbedinmoredetailinyourStarLaserPrinter8OperationsManual.
Serial interface: protocol
Finally,in Serialmodeyourcomputerwill use one of threeprotocolsto
ensure data is sent properly. Protocol (sometimes also called “handshak-
DTR(DataTerminalReady)protocoldoesthe samethingslightlydifferently. The,printersendsa continuoushigh-voltagesignaloverthecableas
long as it can accept data, but drops the voltageto say “whoa” to the
computer.
Conversely,it’sthecomputerthatholdsthereinswiththeETX/ACK(Endof-text/Acknowledge)protocol.ThecomputersendsanETXcontrolcode
aftereachstringofdata,andwhentheprinterfinallygetsthatcodeit sends
anACKcodebackto thecomputer,askingfor more.Thisprotocolis less
used by modem computersbecauseit doesn’thold back data when the
printer’smemorygetsswamped,
Look in yourcomputer’soperationsmanual,in the sectiondealingwith
communicationsprotocols,to sce whichis best for yoursystem.Youcan
sticktotheprinter’sdefaultsifyourcomputerusesneithertheDTRnorthe
ETX/ACKprotocol,butdoesuse XON/XOFF.
If youwantto enableDTRor ETX/ACK,or disableXON/XOFF,you’ll
have to set thoseparametervalues accordingly.Turningon oncof these
protocolsautomaticallyflipsoff theothers.
If yourStar LaserPrinter8 doesn’tprint what’son the computerscreen,
recheck your connectionsand interface settings. With an applications
programlikeLotus1–2–3orMicrosoftWord,youuscapnntersctuproutine
to matchyourcomputerwith your printer’soperatingcharactcnstics.So
double-checkyoursoftwaresettings;yourcomputer’soutput,forcxarnple,
might not begoingto theproperport.
18
Printer emulations
OK, you’vegot yourpnntcr and computerconncctcdproperly.NowIct’s
focuson how yourpnntcr works.
Your Star LaserPrintcr 8 understands and uscs the same commands as
several earlier kinds of pnntcrs. Your printer works by emulating onc of
these:
● Hewlett-Packard LaserJet series H
● Epson EX-800
● Xerox Diablo 630
cIBM Propnntcr
Otherlaserprintersmayoffersuchemulationstoo,butoftenrequireinstallationof a ncwcircuitboardfor eachemulation.StarMicronicshas built
thesefouremulationsintotheStarLaserPnntcr8.
select which emulation you want either by sclccling it from the print
You
program menu on the Star LascrPnnter 8’s front panel, or by sending the
pnntcr onc of the supcrsct commands at the
cndof thischapter.
What are the emulated printers like?
Most of thetimeyouwillprobablychooseHPLaserJetseries11emulation,
whichisthedefaultwhenyouturnontheStarLaserPrintcr8.That’sbecause
the LaserJetseriesH, like the Star LaserPrinter8, is a laser printer.This
cmulationmodegivesyouthebestcontroloveryourpnntcr’sfeatures,and
pnntcr commands(includinggraphics)used by hundredsof programs.
Mmtly,you’llchoosethisoptionwhenyourunaprogramthatcannotsend
laserprintercommands.
TheProprintcr,adot-matrixprinterliketheEX-800,hasasimilarcommand
set.YoulikelywilloptforProprintcremulationonlywhenyouwanttouse
computer programs spccilically designed for the Propnntcr and IBM
computerenvironment.
Whenyouwantto emulateadaisywheelpnntcryouwillprefertheDiablo
emulation.You may alsochoosethis if you use an older text processing
programthat can’tccntcrorjustify its printing;Diabloprintercommands
can lookafterthosethingsforyou.
19
I
The Command parameter
The Star LaserPrinter8’s Emulationsetting defines which printerit is
imitating:Hewlett-PackardLaserJetseries II, Xerox Diablo 630, Epson
EX–800or IBMPropnnter.
Mostof the otherCOMMANDvaluesbelowcanbe changedwith Escape
codesaswellas fromthe panel.
Asthe
citherjust one copy of each page sent to it, or multiple copies up to 99. Most
wordprocessingandotherpackages,however,let youlookaftermultiple
copiesof a documentwithoutusingthiscommand.Youmayconsequently
preferto leavethisatthedefault(onecopy),changingit onlyas necessary
throughsoftwarecommands.
TwosettingsarconlymeaningfulwhenyouareusingHPLaserJetseries11
commands.First,if youenableMacroOverlay,fromzeroto99 macroscan
be active.
Second,mostof thetimeyou’llwantto printacrossthewidthof thepage,
butoccasionallyyoumaywanttoprintupthelengthofthepage.Unlikemost
otherlaserpnntem,your Star LaserPrinter8 lets you rotatefontsto print
eitherway—youdon’thaveto buyseparatefontsto printsidewaysonthe
page.
Yourprinternormallyfeedsa new formwhenyou rotatea font,to avoid
accidentallyprintingbothorientationsonthesamepage.Butifyouwantto
intermixorientations,just changethevalueof FF on Rotateto NO. (Font
orientationisexplainedinmoredetailbelowwiththeLAYOUTparameter.)
AfewcomputerschangecertaincontrolorEscapecodeswhensendingthem
totheprinter,whichnaturallycausesconfusion.Moreover,manyprogrammerspreferto scchexadecimalprintoutwhentheyaredebuggingprograms.
To helpwiththesesituations,youcan makeyourStarLaserPnntcr8 print
inhexadecimalratherthantheusualASCIImodebyswitchingONtheHEX
DUMPparametersetting(seethesidebarbelow).
Number of Copies setting suggests, the Star LaserPrinter 8 can print
ThelastthreeCOMMANDvaluesconcernthephysicalmachine.Youcan
settheintensityoftheprinter’sLCDdisplayfrom 1(faint)to 7 (bright);its
defaultsettingis 4. You can enableor disableboth the beeperand the
WarningAlarm(whichsoundscontinuously).
20
I
Hints: The hex dump
● To make yourStar LaserPrinter8 print in hexadecimalratherthan the
usualASCIIsymbols,pressthe frontpanelbuttonsthatput the pnntcr
offlineandinPROGRAMmode.MovetotheCOMMANDparameter’s
In this section we look at two controls you have over how the Star
LaserPrinter8 handlesand formatsits pages:You can set valuesfor the
PAPERFEEDandLAYOUTparametersonthe frontpanel.Atthe end of
thissectionwe’llalsopreviewdifferentwaysto movetheprintposition.
The PAPERFEED parameter
ThePAPERFEEDparameterletsyouspecifybothwhatkindofpaperyou
wantandhowtheprinteris to handleautomaticprint-positionmovements
(carriagereturnsandso on).
FortheFeedervalueofthisPAPERFEEDparameter,youfirstentereither
cassetteor manualfeed to indicatewhereyou want paper fed from.The
cassettetray automaticallyfeedssinglesheets,muchlike sheetfecdemon
othertypesof printers.Manualfeedmeansyoufeedeach sheetby hand.
Thedefaultpapersizeis 8.5by 11inchletter-sizepaper;a different-sized
tray automaticallyselectsthat differentpapersize. If you choosemanual
feedyoucan specifyothersizestoo:
● 8.5 by 14inch legal-size paper
● A4 international (used in every country except North America)
(210
by 297 mm)
● B5 international (used in every country except North America)
(182
by 257 mm)
● the narrower “executive”size (7.25by 10.5inches)
Oneothernicethingyoucan do is printdirectlyon envelopes.Withthis
Paper Size parameteryou can specifyenvelopesin sizes #10, Monarch,
EuropeanC5 andDL.Thenjust workoutwhereto puttheaddress,setthe
orientationto landscape(see below), and slide your envelopeinto the
manualfeed slot.Easy!
Beawarethatanypuckeredorwovenfinishmaynotprint as sharplyas
you‘dlike.Avoidshinycoatedpaperormultipartforms.Anddon’teven
thinkaboutputtingin stapledorrippedpages.
●
If you frequentlychangepaperweights,you willprobablyget skewing
problcms—linesthatprintal an anglebecauseof misfccding.Forbest
results,whenyourStarLaserPrintcr8is firstsetuphavethepaperfccdcr
“squared”forpaperof-atIcast20pounds.Lighterpaper,thoughchcapcr,
isn’treallythewayto cconomizc.
ThetoncrcartridgcinyourStarLascrPrintcr8shouldprintatleast4000
pages,20 refillsofthepapertray.Thecostof replacingatonercartridge
is not muchmore than that of replacingprintwheelsand ribbonson a
daisywhcc.1printer.
Butyou
canextendthelifeof a cartridge:Settheprintdensityto 7 or 8
just turnthedialbackto4 or 5 for reportsor lettersthatmustlookgreat.
CAUTION:
the rollers beside the dial may be very hot.
23
.
Whenprintingstartsfadingbecausethetonerislow,removethecartridge
andgentlyrockitbackandforthhalfa dozentimes.Don’ttipitup or the
tonermayspillout.Redistributingthetonerpowderthiswaycankeepthe
cartridgegoingforanothertrayof paper.
.
No question,workingwithsinglelabelsheetsis more convenientthan
withcontinuouslabelstock.Laserprintersarefasterandproducebetterlookinglabels than other printers.But laser printers,which work by
electrostaticphotographyrather than impact pressure, put different
stressesonlabelpaper.Eachsheethastobendoverandthroughtheguide
rollers; moreover,fusing toner to the paper involves heat. You can
BothAvery’s“Lasergraphic”labelsand Canon’slabelsseemto work
fine.Yourmainconcernis thatthelabelscompletelycoverthebacking
sheetsoitshowsonlyattheoutsidemargins.Thatwayindividuallabels
can’teasilypeeloff.
The safest approachistolaser-printsharpmastercopiesonpaperandthen
photocopythoselistsontolabels.Thiswillavoidputtingyourprinter’s
adjustmentforpaperthicknessoutof adjustment.
.
If you wantto print transparenciesfor your overheadprojector,some
films will actuallymelt in your laser printer.Stick to 3M’s mediumweighttransparencyfilm(type501)or to Hewlett-Packard’sW2285J.
—
24
The LAYOUTparameter
The layout orformat or setup of apagerefersto howtextis positionedon
the page.Layoutincludespage orientation,marginsand the spacingof
charactersacrossandlinesdownthepage.Youcan controlthesewith the
LAYOUTparameter.
You probablywon’t use the LAYOUTparameteron the front panel’s
programmenuverymuchthough.Mostof the timeyou’lleitherleavethe
StarLaserPrinter8 with its defaultsettings,or lookafterpageformatting
withcommandsyou sendfromyourcomputer.
Youcanchangemarginsettingsforallfouredgesofapage.Theleftandright
sidemarginscanhavevaluesfromOto 132,definingthemargincolumns
betweenwhichwordsandimagescarIbeprinted.Andthetop andbottom
marginscanbe set at anywherefromOto 112lines.
characterto be.Eachcolumn,ruining frompagetopto bottom,willbethe
widthof a space.
Youprobablywillletyoursoftwareworryaboutthespacewidth.Butifyou
want,youcan set the HMIparameteronthe panelin incrementsof 1/120
inch—anywherefrom 1 to 255increments.
verticalmotion index (VMI).Theprintermovestheprintpositiondowna
line when it gets a Line Feed code,usuallywhen it bumpsinto the right
margin.
Again,you’llprobablylet yourcomputerprogramsetthe line depth.But
from the panel you can set the VMI value in incrementsfrom 1/48 to
255/48of an inch.
so eachpagecanbe constructedin theprinter’smemory.
Insteadoftalkingaboutprintheadswetalkaboutmovingtheprint
(some people call it moving the “cursor,” using the computer-screen
analogy).Horizontally,youcanmovetheprintpositionwithbackspaceand
carriageretumcommands.Vertically,youcanmovetheprintpositiondown
thepagebyprintingsomanylinesperinch,orbysendingline-feedandhalf
fromhowtypewritersspacetheircharacters.
usedby earliercomputerprinters(onwhichthey are calledhorizontaland
verticalmotionindexes).YoualreadyknowabouttheStarLaserPrinter8
beingableto print300dotsto the inch.Andtheunitby whichtypesetters
havemeasuredtextforcenturiesisthe
Lines andcolumnswerefirst
point, about l/72nd of an inch.
position
Pifch,
Onehintabout movingtheprintposition:youcanconfuseyourselfif you
usemorethanoneor twodifferentunitsduringthesamesession.Sodecide
beforehandhow accuratelyyou need to move the print position (not
forgettinganygraphicsyouwantto include).Thenstickto the unit(s)you
choose.
whenit isprinted.Thenextchapter,“Fonts,”exploresthedetailsofallfont
attributesin more detail.But let’s have a quickoverviewnow, because
you’llmeetthesetermson the frontpanel’sprogrammenu.
Font attributes: a preview
Orientation(portraitorlandscapeasdescribedearlier)isusuallythoughtof
as one attributeof a font;it’snot reallya pageformattingissue. Besides
orientation,thefontswithwhichyouprinthavetheseattributes:
Symbolset is sometimescalled“characterset”- whichcanbe confusing,
sincesomepeoplesay“characterset”whentheymeana font.Symbolsets
are subgroupsof a font’ssymbolsthat are mostappropriateforparticular
countries,such as theUK(f), France(h),LatinAmerica(fi)or Japan(%).
Spacing andpitch arelinked.Characterscanbespacedon thelinepropor-
tionally, so
W. Orcharacterscanbespacedallthesamewidth:twelvecharacterstothe
off with particularfont attributesas defaults when you first choose an
emulation.WiththeEX-800andDiabloemulationsyoucanenableproportionalspacingandboldprintassetupparameters.EX-800modealsoletsyou
startupwithhalfofyoursymbolsetasgraphicscharactersinsteadofitalics.
28
THE STAR LASERPRINTER 8 SUPERSET
Do you need to send commands?
Here’s an importantfact: you can set nearly every one of the above
pararnctcrsby sending your printer a correspondingEscape sequence
command.ThoseEscapesequencecommandswilloverrideanysettingyou
makefromthe frontpanel.
Themainthingto realizeaboutmostprintercommands,though,isthatyou
probablydon’t need to use them. Nearly all popularsoftwarepackages
includeprinterdrivers,whichsendcommandsto theprinterso youdon’t
haveto typethemyourself.Someof thoseprogramsaskyouto keyin setup paramctcn about your printer. Other programslet you put printer
commandsbeforeor insidethe documentyouwantto print.
Severalcompaniessell programsthatlook afterlaser-printingcommands
for such software.Ask your dealer about
Lasers, PCLPak
reinventingthewheel.
andRAM Resident Printmerge. There’snotmuchpointin
LaserControl, Printworks for
The Star LaserPrinter8superset
Besides the commands that emulate other printers, your laser printer
understandsfourothercommandscalledtheStarLaserPrinter8
The Star LaserPrintcralways understandssupersetcommands;it doesn’t
matterwhichemulationmodeyourprinterisusingatthemomcnl.Supcrsct
Escapesequencecommandsstaflwilh<ESC>[ so you can quicklyspot
themin a listof commands.
Onesupcrsetcommandgivesyouanotherwaytoswitchfromoneemulation
to another:you sendthe ChangeEmulationsupersetcommandinsteadof
usingthe frontpanel.The secondsupersetcommandlets you changethe
printingorientation,so you can print sidewaysup thelengthof the page,
insteadofacrossitswidthintheusualway.Thethirdsupcrsctcommandlets
youchangethepapersize.Thefourthsupersctcommandletsyouchangethe
papercassettefor thedual-cassetteprinter.
superset.
29
The Change Emulation command
YoucanthinkofthesupcrsetChangeEmulationcommandasthekeytoyour
Star LaserPrinter8. The ChangeEmulationsupersetcommandlets you
switchfromone setof printercommandsto another“on thefly,”through
software.
When you send this commandto print in landscapemode, the printer
automaticallyrotatesits currentfontso thatit printsaslandscape.
The spotor line whereprintingstartson thepageis sometimescalledthe
origin or top ofform.
Thatstartingprintpositionisintheupperleftcornerforaportraitpage,but
in thelowerleftcomer for a landscapepage.
TheStarLaserPrinter8letsyoumixportraitandlandscapeorientationson
thesamepage.Becausethestartingprintpositionchangeswhenyouswitch
orientationsthough,you have to rememberto re-orientcommandsthat
move the print position.If you don’t want to allow the printer to mix
orientations,usethefrontpanelprogrammenuto changetheCOMMAND
parameterFFon ROTATEvalueto NO.
Theoriginchangeswhenyouswitchorientations.
Youprobablywon’twanttochangeorientationallthatoften.Everytimeyou
do,th~StarLaserPrinter8alsoresetsthepagemarginstoitslimits,andalso
howitdefineslinesandcolumns.So wheneveryougivetheSelectOrientationcommandyoumaywanttofollowitwithEscapesequencestochange
thesideandtopmarginsandpaperlengthsettings.(Alternatively,youcould
put rheprinterofflineandresetthesefromthefrontpanel,asdescribedunder
LAYOUTearlier.)
31
The Paper Size command
ThePaperSizesupersetcommandletsyouchangethepapersizein which
theStarLascrPrinter8prints.
This is the commandthat defineswhat sizethe Star LaserPrintcr8 will
accept. You issue the Paper Size commandwith the
sequence:
<ESC>[ S n
Forthevalueof n youentera numberfromthistable:
nSIZE
1Lettersizepaper
2
3
4Executivesizepaper
5
11Monarchsizeenvelope
12Com-10sizeenvelope
13InternationalDL sizeenvelope
14InternationalC5 sizeenvelope
This commandcontrolsthe size that the printershould use when nexl
feedingfrom the selectedpaperfeeder. If the printerdoes not have the
requestedsize, the frontpanel willdisplaya messageinstructingyou to
inserttherequestedpaper/envelope.If theoperatoroverridesthat request,
therequestedsizeis ignoredandthesizeof thecurrentcassetteis used.
mandsin any emulationmode.The commandto do thisis:
<ESC>[ D n
wheren isan ASCIIvalueof either“1” or “2”. If n is set to”1”, thenthe
printerwillentersimplexmode,andifnis“2”,theprinterwillenterduplex
mode.
Iftheprinterisinsimplexmode,the”1”optionwillhavenoeffect.Ifthe“2”
optionis chosenwhiletheprinteris in duplexmode,itis onlyvalidifthen
face-downoutputstackhas been selected.Thepagecontainingthiscommandwillbecomethe faceof thedouble-sidedpage.
If the printeris in duplexmode, the “l” option will force single-sided
printing,commencingwiththepagecontainingthiscommand.Iftheprinter
isalreadyinduplexmode,thepagecontainingthiscommandwillbcforced
to be the faceof thenextdouble-sidedpage.
The DUPLEXlight on the frontpanel will indicatethe currentsimplex/
duplexstatusof theprinterfollowingreceiptofthiscommand.
loaded)that you can use on your Star LaserPrinter8. We’ll cover the
particularsetsof symbolsyoucanchoosefor thosefontstoo.
Finally,we’llfindouthowto loadtheprinterwithyourselectionof fonts.
FONT TERMINOLOGY
Typefacesand fonts
First,a fewdefinitions.A typefaceisa familyof characterswiththesame
basicdesign.Theartisticcharacterdesignyouchooseestablishesthe“tone
of voice”for allyourdocuments.
Several variables can characterizetypefaces, including weight (light,
mediu’m,bold),width(condensedor extended),andstyle(uprightoritalic).
Courier,forexample,isatypefacefamilythatincludesthecharactersinboth
Withthe StarLaserPrinter8 youcanhavedifferentstrokeweightsin two
ways, dependingon which emulationyou are using. You can have two
differentfonts,storingandswitchingbetweenaboldandamediumversion
ofthefont.Oryoucanusejust onefontandsetboldonandoffwithEscape
sequences.Thelatterway usesjust halfas muchfontmemory.
35
Narrowcondensedfacesusedto be called“compressed”.Theycramabout
fivecharacteminthespacewherethreeusuallygo-ideal forspreadsheets.
An extendedface, particularlyon a dot-matrixprinter,goes by several
names:“expanded,
it’scalled,extendedprintiswiderthanitishigh,andcanbefairlyeffective
in pageheadings.
charactersareoftencalled“reman”.YourStarLaserPrinter8comeswitha
built-inuprightCouriertypeface.Moreover,from any of the Star LaserPrinter 8’s built-intypefacesyou can selecta subsetof uprightsymbols
calledRoman-8.
The baselineis theinvisiblelineuponwhichcharactersoftypesit.Sincethe
firstletterblocksweremadeofleadalloy,thedistancefromonebaselineto
thenextis calledleading(pronounced“ledding”).Typeitselfis measured
fromthetopofanascender(thepan extendingupintheb ork, forcxample)
to the bottomof a descender(thedown-strokeof they orq ).
Themeasurementsusedtodescribefontsarepointsandpicas(derivedfrom
themarksandlettersin medievalchurchalmanacs).Thereare 12pointsto
the pica, and almostexactly6 picas (72 points) to the inch. Your Star
LaserPrinter 8 quitehandilyprintstypefrom6 to 36pointsin size.
Laserprintersforcomputersmeasurefontheightinpoints.Onlaserprinters
the“whitespace”aboveascendersandbelowdescendersdependsonhow
the line is defined,so the line correspondsto leading.This type you’re
readinghasa fontheightof 12points,andis spacedalittlelessthan5 lines
per inch.
36
The o has been kerned
~~~~~~~
closer to the f.
The font height (24 points) is measured
from
●scender to descender.
I
A fontis a completeset of
4
~ charactersin a particular
sizeand type~ace.
Proportional
Uu
t
L;ading is the
baseline to bas-line
measurement.
spacing
Serif
B.ss@line
Fontspacingandpitch
Youprobablyfirst heard the wordpitch in comection with typewriters.
Typewritersnormallyusemonospacedspacing:theygiveeachcharacterthe
sameamountof spaceontheline.
Abouthalfthefontsavailableforlaserprintersusemonospacedspacingtoo.
Pitch is alwaysexpressedas so manycharactemper inch.Ten-pitch,for
example,meansa fontwithtencharactersineachinchof theline.
Star LaserPrinter8 fonts can be groupedinto threecategories:internal,
cartridge,anddowrdoadablefonts.
Internalfonts
The StarLaserPrinter8 has fourbuilt-ininternalfontsthat residepermanentlyin its read-onlymemory(ROM).That’swhy these are sometimes
called“residentfonts”:
Cartridgefonts,like the internalones, are permanentlystored on ROM
chips.ThedifferenceisthatthoseROMsaminremovablecartridges.Your
StarLaserPrinter8 has slotsfortwo fontcartridges.
Eachcartridgemayholdanywherefmmhalfadozentotwodozenfonts,all
differingfromtheinternalfontsin size,style,strokeweightor symbolset.
You’llfindthatcartridgefontsopenupa widerrangeoftypefacestoo,such
as HelvetandLetterGothic.Generally,cartridgeandinternalfonttypefaces
aresuitableforbothtextandheadlines.
The third kind of font is neitherbuilt into your Star LaserPrinter8 nor
availablejust by slippingin a cartridge.You downioadthiskind of font,
which means you use a computerprogram to send characters from a
computerdisktoyourprinter’smemory.Anydownloadedfont(sometimes
called a “soft” or “installed”font)that you put into the printer’s RAM
disappearswhenyouturnofftheprinter,soyouhavetodownloadthatfont
againnext time youwantit.
Downloadablefonts run the gamutfromEgyptianhieroglyphicsto those
eye-catchingdecorativefarm knownasdisplayfonts.Theyalsoincludethe
more exoticforeign-languagecharacters,such as Arabicor Cynllic, and
symboland mathematicalfonts(sometimeswithfractions).
Howcan you comparecartridgeanddownloadablefonts?Whenyou use
cartridgefontsyoudon’thaveto taketimeto downloadthcm.Theydon’t
take anyof yourStarLaserPrinter8‘sRAMmemoryeither.Butdowrdoadablefontsoffermanymorechoices.Downloadablcfontsusuallycost less
too.
Theprinteralwaysknowswhereitsinternalfontsarc. For eachemulation
program,it alsokeepstrackof cartridgeanddownloadedfontsin apartof
itsmemorycalledthe~onttable.
Sowiththe StarLaserPrinter8youcanhavemanyfontsavailableatanyone
time—theinternalfonts,thefontson anycassettesyou’vepluggedin, and
any fonts you have downloaded.You can change fonts in mid-line to
emphasizea word or two wheneveryou want. You can mix internal,
cartridgeanddownloadedfontsin the samedocument.Youcanuse fonts
frombothcartridgeslotswithinthe samedocumenttoo.
II. SeveralothercompaniesselldownloadablefontswhicharecompatiblewithyourStarLaserPrinter8.TheBitstreamCorporationinBoston
isoneofthemorepopular;Conographicisanother.Xeroxincludesaset
of fontswithits VenturaPublisherdesktoppublishingsoftware,which
youcan usewithyourprinter’sLaserJetIIemulation.
● The SoftCraftcompanynow markets a Bitstmam-developedproduct
so they’ve been availableonly on laser printers considerablymore
expensive than the Star LaserPrinter 8. Now, with programs like
Fontware,yourStarLaserPrinter8 canturnoutelegantprintin anysize
downloadablefonts.If you reallycan’tfind the oneyouneed,youcan
designanddownloadyourowncustomizedfonts.Thisisnoemyjob,but
if you’recuriousit’sdescribedin chapter4.
40
SYMBOL SETS
Let’ssummarizebriefly,to putthe subjectof symbolsetsin context.
The attributesof a fontdeterminewhatthat font willlooklike when it is
printed.We coveredall but orientationat the start of this chapter,and
orientationin the last chapter.A font’sattributesinclude:
.
orientation (portraitor landscape)
.
symbol set (whichwe’lllookat next)
.
spacing (monospacedor proportional)
.
pitch (10or 16.66charactersperinch,forexample)
.
font height (measuredin points)
.
style (uprightor italics)
●
stroke
✎
typeface (LinePrinter,TmsRomn,Courierandso on)
Thoughthey are not font attributes,such printingfeaturesas subscripts,
theemulationyou areusing,insteadofbackspacingandoverprintingwith
theseparateunderlinecharacter(–).Ifyoudothelatterwith
spacedtext,you’llusuallyfindtheunderliningis too longfor the text.
weight (light,mediumorbold)
proportionally
Whatare symbol sets?
Keyboardsdifferfromcountrytocountry.TheBritishneedtheirf symbol,
theFrenchneedtheirQand6,theSpanishneedtheir~andiletc. Scientists
needparticularmathematicalsignstoo.Thereeasilycouldbefourhundred
or morepossiblesymbolsfor anygivenfont.
However,thenumberof symbolsprintersstorefor a fontis limitedto 256
slots,asinASCII.Sosomesymbols,ortheorderofsomesymbols,candiffer
in anyfont.Eachuniqueselectionandarrangementofsymbolsisa symbolset (sometimescalleda “graphicset”or “characterset”).
The symtmlatposition91 for exampleis an openbracket,[ , in the usual
ASCIIsymbolset.ButthesamepositionholdsA(capitalAwithanumlaut)
in the Germansymbolset.
41
Youprobablywon’tchangesymbolsetsveryoften,unlessyouneedspeciaI
symbolsforyourtradeor regularlywritein a languageotherthanEnglish.
Whenyoudoneedthem,though;inoneoranotheremulationmodeyourStar
Laserl%intcr8 supportssymbolsets for allthesecountries:
U.S.(ASCII)UnitedKingdom
Germany
Italy
Sweden
Denmark
France
Finland
Norway
Spain
Besidestheseyourprintersupportssetscontainingjustsymbols,suchasthe
Greekalphabet(B),logicsymbols(S),arrows(#), theregisteredtrademark
symbol(Q) andso on.
TheactualEX-800,PropnnterandDiabloprintersdon’tusesymbolsetsto
produceinternationalaccentedcharactersandspecialsymbols.Instead,the
EX-800 and Propnnter let you define which characters you want with
parameter settings, and the Diablo lets you change pnntwhcels. Both
approachesproducemuchthe sameeffectasswitchingsymbolsets,however,so we~llstickto thissingleconceptthroughoutthismanual.
WhenyourStarLaserPrinter8 is emulatingtheHPLaserJetH, thenormal
default’symbol set is the Roman-8set. Roman-8includesall the usual
keyboardcharacters,numbersandsymbolsinASCII,plusaccentedforeignlanguagecharactersand specialsymbols(butnothingfor linedrawing).
programs that expect these symbols, which most font designemomit
(especiallytheIBMHappyFace).
42
I
The EpsonEX-800emulationis reallyversatile.It lets youhaveboth of
thoseIBMsymbolsetsplusEpson’sownstandardsymbolset.ThisEpson
symbolset is unusual:it containsbothuprightanditaliccharactersin the
same set. You may also choosefrom symbolsets for all the countries
mentionedabove,plusaseconduniquesetforeachof DenmarkandSpain.
Withthe Diabloemulation,Roman-8is the normalsymbolset.
Default font attributes
Whenyoupoweronyourprinterandchooseanemulation,theinternalfonts
startoffwithdefaultattributeswhichyoucanchangeasneeded.Thedefault
symbolsetsdependon the emulation:in LaserJetII andDiablomodesthe
defaultisRoman-8,inProprintermodeit’sIBMSet1,andinEpsonEX-800
modeit’sEpsonStd USA.
symbolsets, or arrangementsof those fonts, which that emulationcan
handle.So be aware that, if you try usingfonts other than those recommended for a particularemulation,you will usuallyget printingin the
emulation’sdefaultfont.
If youwanta characterthat’snotin thefontyou’reusing,don’thesitateto
grabit. JustsendtheEscapesequencesthatselectyourdesiredsymbolset,
printwithit, then go backto youroriginalfont.
43
MANAGING FONTS
Youcan sccwhichfontsarecuncntlyselectedon yourStarLaserPrinter8
byprintinga statussheetinofflinemode,asmentionedatthebeginningof
thischapter.AnotherTESTmodemenuitem,describedin theStar LuserPrinter8 OperationsManual,alsoletsyouprintout a list of all thefonts
availableon the printerat anygivenmoment.
Selectingfonts
Most popular software packages,particularlyword processors,let you
choosefontsfromwithintheprogram.Theysendtheappropriatecommands
to theprinterandyoudon’tneedto understandhowtheydo it.A4uhiilfate
uscspitchto identifydifferentfonts,forexample,whileWordPerfect
print formats.Thepointis, youmaynotevenhave to worryaboutselecting
whichfontto use.
Butnotallpackagesdothejob foryou.If youarcin thissituation,youcan
selectanyfontattnbutcmentionedabove,eitherfromthefrontpanelorby
sendingan Escapesequencecommandinoneof the emulationmodes.
yourscreenwhatyouwillgetonpaper(code-basedprogramsdon’t),how
wellthey handlepictures,andhowhard they arc to learn.Think about
yourneedsbeforechoosinga desktoppublishingsystem.
● A fewof today’scomputerprogramslet you seeseveraldifferentfont
sizesandtypefacesonyourcomputerscreen.Thatcapabilityisncccssary
if youwantto seeon-screenexactlywhatwillprint on yourStarLaserPrintcr8. Desktoppublisherscall thiscapabilityWYSIWYG—“what
yousee is whatyouget”.
While“screenfonts”that matchthe fontsyou use on your StarLaser-
on theprinteragain,thatfontwillstillbeyourdefaultfont.
Second,somecartridgescontaintheirowndefaultfont.Thatmeansassoon
as you slide such a cartridgeintothe printer,that cartridge’sdefaultfont
becomes the printer’s new default font automatically.To change the
printer’sdefaultfromthatonthecartridgeyoumustselectanotherfontfrom
the frontpanel.
46
How to download fonts
To downloadfontsfromcomputerdiskyou’llneedmomthana small64K
youhaveto do is copythe file from yourcomputerinto your printer (in
LaserJet11modeyoumustassignafontIDnumberfirst).If youdownload
fontswiththeMS-DOSCOPYutility,makesuretousetheCOPY/Boption.
sometimesproducesbadlyshapedcharacters.
OK,let’slookat a coupleof examples.
Downloading a font: example one
Exampleoncis fora computerrunningjust MS-DOS.
Sayyou’veboughtHewlett-Packard’sCenturySchoolbookfontsandwant
to downloadtheregular(upright),italicsandboldfacecharacters.TheHP
disk Iabels for each tile are CN1OORPN.R8P,CNIOOIPN.R8Pand
CN1OOBPN.R8P.In case you’reinterested,that’sHP’scodefor CeNtury,
set,Portrait.
One of the disks you get also contains a batch tile named
DOWNLOAD.BAT.To loadthe regularuprightfont you makesure the
printerisonline,then afteryourcomputer’sA>promptyoutype:
DOWNLOADCN1OORPN.R8P
WhentheprogramasksforthefontIDnumberyoukeyinanumberbetween
Oand32767.ThenwhentheprogramaskswhetheryouwantLhefontstored
permanentlyor temporarilyyou type either P or T (a tcmporaryfont
disappearsif you press the printer’sRESET button).Finallythe program
asksif youwantto printa sampleof thefontandyoureplyYor N forycs
or no.
AfterPCLPFMhasmadethefontdatafile,withyourwordprocessoropen
theWindowsfilecalledWIN.INIandkey inthefontdefaultsyouwantto
apply. At the section refcrnng to the HPPCL printer driver, insert the
APPNDWIN.INIfileyoucrcatcdearlier.
That’sit!Fromnowon yourCenturySchoolbookfontswillappearon the
print menusof all yourWindowsapplications.
Piintingfancystuffcanbequitecumbersomeforyourprinter.Youtrade
offfancinessagainstspeed:ifyouoptforfewerflourishes,yougiveyour
printerbreathingroom in memory.And that rewardsyou with faster
output.Anyof the followingwillslowdownyourlaserprinter:
- textover20points,
- lotsof linesor patterns,
- graphics,
- macros,
-justifiedtext.
.
YoumaychoosetoaddanoptionalRAMboardtoyourStarLaserPnnler
8 if youneedto downloadmanyfonts.
.
Altcmatively,considereither a softwareor hardwareprint
a separatetemporarymcmory space that holds the documents10bc
pnntcd,and is particularlyhandyin a multi-usersystem.
.
Some page makeup programs automaticallydownload each font as
needed,thenflushthatfontfromprintermemoryto makeroomfor the
next font.This approachcan makegood senseif you’resharingyour
printerwith otherpeoplein a computernetwork.It keepsthe pnntcr’s
RAMfrombecomingoverloaded.However,thedownloadingtimecan
sigriificantlyslowdownyourprinter’sthroughput.
●
Moretypically,youwilldownloadafontinthemorning(perhapswiththe
MS-DOSCOPYcommand)beforeyou print yourfirstdocument,and
that font will then stay in the printer’smemory.If you use a single
downloadedfont(or macro)throughoutthe day, you will find it most
efficientto keepit in thelaserprinter’smemory.Youdefinitelyshould
downloadfontsthiswayifyouuseaprintspooler.Ifyou’reinanc[work,
however,makesureyoudon’tdownloadduplicatefonts.
✎
Howmanydownloadablefontscanyouhaveinonedocument?That’snot
so easyto answer.Mostof yourlaserprinter’smemoryis notavailable
for storingfonts,becauseit hasto storeeachpagebeforeprintingit, as
WC1lasanymacrosoroverlaysyouareusing.
spooler if
49
I
To see how much memoryis availablefor extra fonts,put the printer
offlineandpresstheTESTbuttontoprintastatussheet.Yourprinterwill
beepand showa front-panelmessageif youtry to overloadits memory
by downloadingtoomany fonts.It then willcontinueprintingwiththe
closestavailablefontto thatrequested.
To keep a widevarietyof extra fontsin memory,however,many Star
LascrPrintcr8users(especiallythosesharingtheprinteron a network)
preferto add theoptionalboardwiththesecondmegabyteof RAM.
whatfontattributesyouwant,suchasboldor proportionalspacing.If you
selectafontbyspecifyingeveryoneofitsattributes,youcanbecertainthat
you’reselectingsuccessfully.Butitcouldmeanafairbitofrepetitivetyping
Here’s a way you can save yourself a few keystrokes: type in those
commandsthathavethe samecommand-categoryprefixasjust one long
Escapescquencc.To combinecommandsthis way, type the <ESC>and
command-categoryprefixjust once,andcapitalizeonlythelastcommand
character.
it shows a front panel message,which you can look up in your Star
LaserPrinter8 OperationsManual.
Z
53
Set number of copies
Youcan printup to 99 copiesof eachof thepagesyou sendto the printer.
Youmaysendthiscommandanywherewithinthetextonapage;itwillstay
in effect for that and all subsequentpages until you send anothersuch
command:
<ESC>&!n X
Allyouhaveto do is changethe n signin thiscommandto thenumberof
pagesyouwant.(The!characterafterthe &is a lowercaseL.)
Whenyouwanttosetallyourlaserprinter’sparametersbackto theirinitial
defaultvalues(somepeoplecall this “initializing”theprinter),send this
command:
<ESC>E
Theprinterwillfinishprintinganypagesleftinitsmemorybeforeresetting
the parametem.Resetting clears unneeded temporary fonts from your
printer’smemory.Anypermanentfontsor macrosyouhavedownloaded,
however,willstillbethereafteryousendaresetcommand.Permanentand
temporaryfonts are describedat the end of this chapter’s“Controlling
Fonts”section.
30 LPRINTCHR$(27) ; “E”
40 LPRINTCHR$(27) ;“&12h2X”
RUN
First, if it is workingproperlythe printerprints a test print with all the
charactersin itsdefaultfontforthisemulation(Courier).
Next theprintersetsallitsparametervalues—includingfeedselectionand
numberof copies—to their initialsettings.
The lastcommanddoestwothings:ittellstheprintertoacceptpaperyouwill
feedin yourself,andto printeachpagetwo times.Thisishandywhenyou
wanttwo copiesof a letteron preprintedletterhead.
55
I
Youcan now send yourletterfromyourwordprocessingprogramto the
printerandfeedinthosepages.Whenyou’redone,youmaywanttosendthe
<ESC>E commandonemore time.
PAGE ORIENTATION
Youmightreasonablythinkof pageorientationasa pageformattingissue.
Toprintwordswidthwiseon a page,however,eachletterineffecthastolie
onitsback.Soorientationisactuallyafontattribute,andistreatedassuch
lateron in thischapter.
Page Length
Thepapertray youhaveinstalledsetsthedefaultpagesizefor yourlaser
printer.Whenyouwantadifferentsize,andwhenyouchangethetray,you’ll
need to reset that page size. You shouldalwayschangethe page length
be~oreyou send text for printing.The Page Lengthcommandsets the
numberoflinesthatcanprintonapage(linesperinchtimesthenumberof
inches).
ThePageLengthcommandformatis:
<ESC>&/n P
wheren isthenumberoftextlinesonthepage;itcanbeanynumberbetween
5 and 128.
Whenyou set the top marginthough,it doesnot change,evenwhen you
changethe definitionof a line. You can usethis commandto set the top
marginanytime.Justbcawarethatifthecurrentprintpositionisbelowyour
margin,you’llhavetomovetheprintpositionbackup.Naturally,youhave
to keepyourtop margininsidethepage-lengthlimit.
Usethiscommandtosetthetopmargin,settingntobcthenumberof lines
down from the top of the page that you wantleft blank before you start
printing:
<ESC>&t’nE
Notethatthecharacterfollowingthe“&”is a lowercase“L”.
Text length and the bottom margin
By default, the LaserPrinter8 automaticallygives you top and bottom
margins of the same size. So you only need to send the Text Length
(notethatthe characterfollowingthe“&” is a lowercase“L”),andn is an
ASCIInumberwhichmaybeeither’’O”,“l’’or’’2”.Ifnis“O”,simplexmode
willbeselectedforthenextpagetobeprinted.Ifnis”1”or“2”,thenduplex
modewillbeselectedforthenextpage—” 1“selectinglong-edgebinding,
and“2” selectingshort-edgebinding(regardlessof pageorientation).Any
othervalueswillbe ignored.
59
Page Side Selection (DX type only)
The followingcommandallowsyou to selecton what side of a pagethe
followingdata willbeprinted-whentheprinteris in duplexmode:
<ESC>&a n G
wherenisanASCIIvaluefrom“O”to“3”.If nis“O”,thefollowingdatawill
to usc more than two differentunits duringthe same session.So decide
beforehandhowpreciseyouneed to be in movingthe printposition,not
forgettinganygraphicsyouwantto include.Thenstickto the unit(s)you
choose.
Beforeyouuseprintpositioningcommands,youfirstmay wantto change
thedefinitionsofthelineorspace(sometimescalled“verticalandhorizontal
motionindexes,”VMIandHMI).Thesedefinitionsdon’tactuallymovethe
print position.Instead,they define two basicunits you can use in print
positioncommands.
What’simportantaboutthespaceisthatitdefineshowfartheprintposition
travelsforeverycharacteryouprint(exceptforproportionallyspacedtext).
The spacecanalsobethoughtofasthewidthofaverticalprintcolumn.One
columnwidthisthewidthofthespacecharacterinthecurrentfont,nomatter
whetherit is monospacedorproportionallyspaced.
Occasionallyyou may wantto changespacewidthto overridethecurrent
pitchsetting. Let’slookatanexample.Thespacewidthcomesinunitsof
l/120thofaninch,andtheCourierfontcanprintIOcharacterspcrinch. Each
charactercovers a tenth—12/120the of an inch, so that font’sdefault
spacewidthis 12units.If wechangeits spacewidthto 6, each character
wouldhalf-overlaptheone beforeit.
If youareusing<S1>and<SO>to shiftbetweenaprimaryandsecondary
font,it’sa goodideato changethespacewidthaftereveryshift.
To changethe spacewidthyousendthiscommand:
Theimportantfactaboutthelinedepthis thatwhenyouchangeit you are
62
changingtheactualmeaningof a “line”.
youeffectivelydecreasethenumberoflinesperinch,andincreasethepage
length.
Thecommandyousendto setthelinedepthlookslikethis:
<ESC>&?nC
(notethatthecharacterafterthe“&”isalower-case“L”)inwhichforn you
canenteranumberfromOto336.If n iszero,lineswillbeprintedontopof
eachother,andif 336,theywillbe printed7 inchesapart.
Whenyouincreasethelinedepth
Moving the PRINT position horizontally
Youcan use threedifferentunitsto movethe print positionhorizontally:
columns(space-widths),dots(eachl/300thof aninch),ortenthsof a point
Tomovetheprintpositionverticallyacertainnumbcrofdecipoints,send the
command:
<ESC>&a n V
inwhichfornyouenterthenumberofdccipointsyouwishtomovetheprint
positiondown(orprecedethenumberwitha +or– signifyouwanttomove
up or downfromthe currentposition).
The Backspacecontrolcodeworksexactlyasyoumightexpect:itmovesthe
printpositiononecolumnto the left.
<BS>
Movingtheprintpositionbackdoesnotdestroyanycharactersalreadysent.
In fact, becauseof that, this commandcan be quite useful. It lets you
supcrimpow”onecharacteroveranother.
Themeaningof a lineis setby the LineDepthcommand.
To send a linefeedjust sendthiscontrolcode:
<LF>
The Half Line Feed commandis the one you want for subscripts.This
commandmovestheprintpositiondownthepageonehalfthecurrentline
depth:
<ESC>=
To send a reverseHalfLineFeed,movingtheprintpositionup to let you
printa superscript,uselhiscommand:
<ESC>&a–.5 R
Form feed
Thiscommand,likethePRINTbutton,makestheprinteradvancetoa new
sheetofpaper.WhenyousendthecFF>controlcodeyouarcalsotellingthe
printer to print all its stored page information.Rememberto send this
commandtomakesureanylastpartialpageinyourprinter’smemorygets
printed:
<FF>
Define automatic line endings
Whenyou press the CarnageReturnkey what do youexpectto happen?
Mostpeoplethinkacomputerkeyboardshouldworklikeatypewriter,with
a CarnageReturnstartinga newlineas well.
When would you want to save and restore print positions this way?
Wheneveryouneedtointerruptwhatyou’reprintingnowtosticksomething
specialontothe page.Thisismost handywhenyouneed tojump fromtext
to graphicsandback.
Sayyou’vewrittenoneroutinethatputsthepagenumberin thesameplace
on.evcrypage, and anotherthat under certaincircumstancesprintstwo
heavyIincs.Youprintmcrnly alonguntilyouhaveto printthelines.You
thenpushthecurrentprintpositiontoexecutethe line-printingroutine.
printpositionagainandrunthepage-numberroutine.Thenyoucanpopthe
printpositiontoprintthesecondline.Andwhenthat’sdoneyoupopitagain
to returnto printingtext.
As you mightsuspect,thiscan involvefairlycomplicatedprogramming,
typicallyusingthe macrocommandsdescribedlaterin thischapter.
To pushorpop a printpositionyousendthiscommand:
<ESC>&f n S
For n youenter Oto push(save)thecurrentprintposition,
or 1to pop(restore)thelast positionsavedoff the list.
Note: The last positionpushedonto the list will alwaysbe the first onc
poppedbacklater.
69
I
CONTROLLING FONTS
Font selection
The LaserJetII emulationlets you defineand selectfontsthreeways: as
primary and secondary fonts, or by font identificationnumber, or by
description.We’lllookatthefirsttwowaysnow,andexplainselectingafont
by its attributesalittlefurtheron.
Howeveryouchoosetorefertofonts,rememberthatafontmustbeavailable
If youdon’texplicitlyindicatewhatattributesyouwantforthe primaryor
secondaryfont, the printerwill use the samedefaultfont for both.This
defaultfont’sattributesincludetheRoman-8symbolset,10-pitchspacing,
again.
Togive an IDnumberto aninternalorcartridgefont,youfirstmakeit the
primaryfont.Thatis, you send a left-parenthesisEscapesequence(a font
attributecommandasdescribedbelow)andtheShiftIncontrolcode.Then,
to assignan ID numberto thefont,you sendthiscommand:
<ESC>*cn D
For n you can enter any numberbetweenOand 32767 as the font’s ID
number.(Notthatyoucanhavemorethan64fontsintheprinteratonce,even
with the optionalmemory board. A printer would need an elephantine
memoiyto hold32767fonts!)
Selecting downloaded fonts
The easiestwaytoselectamongdownloadedfontsistousefontIDnumbers.
Whenyoudownloadafontyoumakethe AssignFontIDcommandabove
the firstcommandinyoursequence(see“Howtodownloadyourownfonts”
laterinthischapter).Afteryou’veassignedanIDnumberto adownloaded
font, you can select it as your primary font with this Select Font ID
command:
<ESC>( n X
in whichn is yourdesiredfont’sIDnumber.
If youusemanyfontsyou’llusethatcommandtoselectamongthem.But
whatif youprefertojust use <S1>or <SO>to shiftbetweenprimaryand
71
I
secondaryfonts?YouwanttoselectadownloadedfontIDasyoursecondary
font.Thisis the commandto send:
The laser printer just zips down this chain of attributesone by one,
eliminatingfontsthatdon’tmatchwhatyouwant,untilit getsdownto one
uniquefontthatmatchesyourrequest.If theprintermatchesdownto, say,
And if youdon’t specifya particularvaluefor someattribute,the printer
assumesyouwantthevaluethatattributehadin the lastfontyouspecified
(orthedefaultvalue if you’vejust turnedon theprinter).Thiscansaveyou
someeffort:ifthefontyouwanthasanattributethesameasthecurrentfont,
youdon’thaveto specifythatattributeagain.
Orientation
Portrait orientationprints text across the width of a page. Landscape
orientationprintstextsidewaysupthelengthof a page.
The StarLaserPrinter8 is moreflexibleaboutorientationthanmostother
laser printers;it lets you simplyrotateany portraitfont to the landscape
orientationorviceversa.To startyouoff whenyouchangeorientation,the
printerresets all its marginsand its column and linedefinitionsto their
Eachfontcanhavemanysymbolsets,eachbeingasubsetofallthepossible
charactersof the font. These subgroupsinclude different symbols for
different nations or for lawyers or artists or mathematicians.Any two
symbol sets, moreover,may store the same symbolat a different font
positionin theprinter’smcmory.
The defaultLaserJetIIemulationsymbolsetisRoman-8,whichincludesall
ASCIIcharactersplusdozensofaccentedletters.Butyoucanuseanyofthe
sets shown below.Technicallyyou can pair any symbol set with any
internal,cartridgeordownloadedfont;howeveritdocsn’tmakemuchsense
to printtextwitha mathor line-drawingsymbolset.
LaserJetHmodeprovidestwodifferentsymbolset commands.Youputa
codeintoone commandto selectaparticularsymbolsetforyourprimary
orsecondaryfont.YouU.SCtheothercommandtoselectthecurrentordefault
symbolset for yourprimaryor secondaryfont.
Selecting a symbol set
Thisfirstsymbolsetcommandletsyouselectaparticularsymbolsetforthe
current font. To select a symbol set for your primary font, send this
command:
<ESC>( n
Forn enteroneof thefollowingsymbolcodes.The firstcharactermustbe
a digit andthe secondanuppercaseletter.
CODEn
OA
OB
OD
OE
OF
OG
SYMBOLSET
Math-7symbols
LineDrawcharacters
1S0 60:Norwegian
RomanExtension
1S0 25: French
HPGerman
73
01
OK
ON
00
OQ
0s
Ou
OY
ID
IE
IF
IG
10
IQ
1s
IU
2K
2Q
2s
2U
3Q
3s
4s
5s ,
6S
8M
‘8Q
8U
8Y
9Q
10U
1lQ
1IU
12U
15U
1S0 15:Italian
JIS ASCII
ECMA~94Latin 1
OCR-A
Math-8Asymbols
1S0 11:Swedish
US-ASCII
BarCode3 of 9
1S0 61: Norwegian
1S0 UK
1S0 69:French
1S0 21: German
OCR-B
Math-8Bsymbols
HP Spanish
Legal
1S0 57: Chinese
Pi font-Asymbols
1S0 17:Spanish
1S0 IRV
OCR-BExtension
1S0 10:Swedish
1S0 16:Portuguese
1S0 84:Portuguese
1S0 85:Spanish
Math-8symbols
IBM-PCSet
Roman-8
BarCode EAN/UPC
IBM-PCExtension
IBM-PC(US)
ECMA-947Bit
IBM-PC(Denrnark/Nonvay)
PC-850
Pi fontsymbols
To selecta symbolsetcodefor yoursecondaryfont,fliptheparenthesis:
<ESC>) n
andfor n substituteyourchoicefromthecodesabove.
74
font. And that currentfont has its currentsymbolset. Yourprinteralso
remembemitsdefaultfontandsymbolset,whichareCourierwithRoman8 (unlessyou’vechangedtheirinitialparametervaluesthroughthe front
panelmenu).
The followingcommandlets youselectoneof thosesymbolsetsfor your
primaryfont.
<ESC>( n @
For n enteroneof the followingselectionvaluesforyourprimaryfont:
n VALUE
O(zero)or 1(one)
2
3
Similarly,youcanselecteitherthedefaultorthecurrentsymbolsetforyour
secondaryfont. You also may want to use the same symbolset for both
primaryandsecondaryfonts.
To do thesetasks,you can sendthe followingcommandto select which
symbolset you wantfor yoursecondaryfont:
<ESC>) n @
For n enteroncof thevaluesfromthistable:
n VALUE
O(zero)Selectsthedefaultsymbolset
1(one)Selectssamesymbolset as primaryfont
2
3Selectsall the defaultfont’s attributes(notjust
If youspecifymonospaccdfor a font,eachcharacterprintswiththe same
width.Butif youspecifyproportionalspacingthedesignofeachcharacter
determinesits width.To definehow you want yourprimaryfont spaced,
sendthiscommand:
So youcanuse the command <ESC> &a n H to backup, youjust needto
knowthe widthin decipointsof whatyou want to overprint.In a monospaced-pitchfontlike Courierthat’seasy:just keep track of how many
charactersyouprint.Inaproportionalfontyou’dkeeptrackofthedecipoints
byusingacharacter-widthtable.Afterbackingup4 decipointslessthanthe
totaltextwidthyoujust print yourtextagain.
Typeface
The
lastattributeyoucan givetocharactersistheirtypeface.Thedesignof
charactersis whatfontdesignersoftenthinkofasthemaindeterminantfor
a font.Butwhenyouselectalaserprinterfont,typefacesits at thebottom
of thelist.
To assign the particularface you want for your primaryfont, send this
command:
<ESC>
(S ~ T
For n enteroneof the fontcodenumbersfromthis table:
Let’sputthelasthalfdozenfontaltnbutcstogetherin an example.Say we
wanttoselectanicefont—asmallLinePrinter- forthefootnotesinareport
we’vefinished.Let’smakeitoursecondaryfont,sincethebodyofourreport
is donein the primaryfont.
We’ll go with the defaultsfor orientationand symbol set. But let’s be
specificabouttheotherattributes,andlet’sremembertoputtheminpriority
order.
Wedecideonamonospacedof 16.66charactersperinchandaheightofjust
sevenpoints(footnotesshouldlooksmallerthanourregulartext).To keep
itreadable,weopt fortheordinaryuprightstyleandmediumweightin the
LinePrintertypeface.Oursequenceof individualcommandswouldlook
likethis:
<ESC>
<ESC>
<ESC>
<ESC>
<ESC>
<ESC>
)S OP
)S 16.66H
)S 7V
)S OS
)S OB
)S OT
Sincethese font attributesall start with the same )s command-category
prefix,let’sput themalltogetherinonccommand:
The Transparentprint commandprintsthe stringof data that followsit
withoutpaying attentionto any embeddedEsca~ sequencesor control
codes.TransparentprintevenprintsCarriageReturncodeswithoutzapping
theprintpositionbackto the left margin.
TouscTransparentprint,justputthiscommandimmediatelyinfrontof your
printdata:
<ESC>&pn X
For n youspecifythenumberof bytesof datayouwantto print.
Display Functions,like the Transparentprint command,prints Escape
sequcnccsandcontrolcodeswithoutactuallyexecutingthcm.ButDisplay
FunctionspaysattentiontoCarnageReturncodes,sotextlooksmorelike
the way it normallyprints. DisplayFunctionsalso prints commandsas
blanks,not as symbols.
Whenyourprinter’smemorygetsstuffedwithfonts,youcanalsousc this
command to delete some of them. You can only delete fonts you’ve
downloaded,asinternalandcartridgefontsareneverdeleted.Notextwill
getlostwhenyoudeletea font,evenwhenthatfontisonanunprintedpage
in thepnntcr’smemory.
To controlfontsyousendthiscommand:
<ESC>
For n enteroneof the numbersfromthistableof functions:
FUNCTION
Deletealltemporaryandpermanentfonts
Deletealltemporaryfonts(anotherwaytodelete
ailtemporaryfontsis to senda resetcommand)
Dclctcjust the fontwiththe mostrecentlyspecilicdID 2
Deletejust thelastcharacterof the fontyouhave
downloaded
Abitofexplanationaboutthatlastfunction6: Whenyougivea fontID to
anyfontyoufirstneedatemporarycopyofthatfontinmemory.Thatcopy
isalreadytherefordownloadedfonts.Butyouwillneedfunction6tocreate
a temporarycopyof an internalor cartndgcfont.
selectthefont,thensendtheFontIDcommandtogiveitanIDnumber,and
finallycopythefontintomemorywithFontControlfunction6.If youwant
that copy to stay in RAM when you resetthe printer,you concludeby
Line100isjustthe<ESC>Eresetcommand.Lines110and130turnonand
off theunderlinefeature.
Line 140 turns on transparentprinting,which forces printingeven for
normallyunprintablecontrolcodes.Thethreebytesyouwanttoprintarein
line 150.To seewhat’sthere,yousenda formfeedcommandin line 160.
Lines250through300printout samplesofthethreefonts.Finally,line310
resetsthedefaulttoourintemalCounerfont,andline320performsthefinal
formfeed to printthe page.
84
USINGYOUR OWN FONTS
Font design is tedious
A warning:font design is an art. Don’t expectto turn out professionallookingfontsin a fewhours.
Sometimes,though,youhavetobuildyourowntypeface,evenif youdon’t
workwith a companyin the font-sellingbusiness.Youmay, for example,
want to print yourown customizedcompanylogo. It meansbuildingup
characterswithina cellorgrid,perhaps50dotshighand35wide—lotsof
dots.
Because defining your own typeface is so tedious, make sure you’ve
checked out as many downloadablefonts as you can find from font
developmentcompanies.
The next handiestway to do thejob is to ask around,maybe where you
identifythepositionof eachcharacterto be downloaded,
specifywhetherthefile is to be permanentortemporary.
85
I
1) Assigning a font ID to your font
ToassignanIDtoyourfont,yousendthiscommand(describedaboveunder
“Assigningfont ID numbem”)with an ID numberfor n betweenOand
32767:
<ESC>*C n D
Beforesendingthat commandthough,check whetherthe ID numberis
alreadyallocatedto anotherfont.If it is, thatexistingfontwillbe deleted
withthenextcommand.
Downloading a header for your font
2)
Evenif theprinterdoesn’thaveenoughmemorytocreateyourfont,itwill
delete any existingfontwiththesameID numberwhenyoudownloadthe
headerfor yourfont.
A font’sheaderis thelistof its attributes,whichyourprinteruscsto select
thatfont.Eachfontheader,26 byteslong,is sto~d atthe frontof thefont.
Yousend-afontheadercommandto yourprinterjust beforeyoudownload
the font’scharacters.
Theheadercommandlookslikethis:
<ESC>
)S n W
and must be followed immediatelyby the data describing the font’s
attributes.The n valueis the actualnumberof bytesof descriptiondata,
almostalways26.Note:unlikeotherLaserJetIIcommands,youmustenter
theASCIIsymbols2 and6 here,notthenumber26.
Asidefromthe actualcommandat thefront,the restlookslikegobbledygook?But there’s26 bytesthere,each one an ASCIIcharacter,each one
specifyingaparticularfontattribute.(Theencloseditemswithbracketsare
singleASCIIcharactersthathappento be controlcodes.)
Eachbytein the headeris a number,whichyousendas whateversymbol
happensto be storedat thatnumericpositionin the ASCIItable.Coding
someofthesenumbersistricky,however,andwerecommendyouaskyour
Yourprinter’sfonttableisjust liketheASCIItable.Beforeyousendeach
character,sayg, youhavetosaywhereyouwanttoputit.IntheASCIItable,
g is atdecimal position103.So yousendthiscommand:
<ESC>
*C 103E
Andimmediatelyafterit yousendthebits thatmakeup the characterg.
to describe and map your character.Sixteen bytes are needed for the
description;the bit-map takes as many bytes as you’ve put into each
charactercell—perhapstwoor threehundredbytes.
sent as the symbolat thatpositionin the ASCIItable. Codingcharacter
descriptionsis tricky too, so again we recommendyou ask your Star
Micronicsdealer for help. The table below shows what the bytesin the
characterdescriptionmean:
BYTE MEANING
o
1
2always14
3
4orientation
5blank
6-7
8-9
10-11 character width
12-13 characterheight
14-15 printpositiontravel(proportionalspacingonly)
descriptionlength
blank
always1
leftoffset(blankspacetoleft of character)
topoffset(blankspaceabovecharacter)
laststepin downloadingyourownfontis to makethefontpermanent
or temporary,using the Font Controlcommanddescribedearlier. The
command<ESC>*c4 F willallowthefontto beerasedwhenyouresetthe
printer.ButthecommandcESC>*C5F willkeepyourfontavailableeven
afteryou resettheprinter.
88
GRAPHICS
TheStarLaserPrinter8offerstwokindsofgraphics.Itprin~srastergraphics
(sometimescalled“bit-mappedgraphics”),which specify each dot in a
graphicspattern. And it prints pattern graphics,which prints Iincs and
pattcmcdblocks.
Bc aware,though,thataddinggraphicelementsalwaysslowsup printing
withlaserprinters.
‘Youmustdefinethe resolutionof yourrastergraphicsbeforeyou use the
StartRasterGraphicscommand.Todefinethe resolutionyouneedin your
graphics,sendthiscommand:
<ESC>*tn R
For the valueof n you can entereither75, 100,150or 300.Thatnumber
defineshowmanydotspcrinchyouwantin yourfinalgraphicimage.The
defaultresolutionis75dotspcrinch.Aftergraphicshavestarted,theprinter
willignoreanyresolutioncommanduntilit receivesthecommandto end
graphics.
Youcanputin eitherO(zero)or 1(one)forthen value.If youenterO,the
marginforgraphicswillbcsetattheleftmostpnntablcedgeofthepage(not
the same as the left marginfor text).But if you enter 1,the margin for
graphicswillbe set at the columnof the currentprint position,and your
imagewillappearonlyto the rightof thatgraphicsmargin.
At300dotsor720 decipointsto theinch,decipointmeasurementsarcmom
accurate.The printerconvertsdecipointvaluesinto dots, using 2.4 decipointsto the dot. It rounds up fractionsto the next integer. So 1225
decipointswouldworkoutto510.4dots,andthepnntcrroundsthisupto511
dots.
Whentheprinterfinishesits print“map”of your ruleor pattern,theprint
positionautomaticallyreturnsto the spot from which you started.That
means,forinstance,thatyoucanmakealightlyshadedrcctanglcandthen
startprintingtextrightoverit.Thiskindofboxcanbeusefulforsettingoff
particularinformationfromthe mainbodyof yourtext.
WiththePrintPatterncommand(whichactuallycomessecond)youspecify
whetheryouwanttofillyourrectangularareawithasolidblackrule,afinely
dotted gray-scalepattern, or a predefine linear pattern.And with the
SpecifyPattcmcommandyoucanindicatewhichparticulardottedorlinear
patternyouwant.YoualwayssendtheSpecifyPatterncommandbeforethe
PrintPauem command,evenif youwanta solidblackrule.
To indicatetheparticularpatternyouwant,sendthe followingcommand.
The generalmeaningof the n value you enter actuallydependson the
commandyouput afterthis:
<ESC>
If youwanta solidblackruleitdocsn’tmatterwhatyouputinfor n, asthe
printerignoresit.