I
CONTROLLING FONTS
Font selection
The LaserJetII emulationlets you defineand selectfontsthreeways: as
primary and secondaryfonts, or by font identificationnumber, or by
description.We’lllookatthefirsttwowaysnow,andexplainselectingafont
by its attributesa littlefurtheron.
Howeveryouchoosetorefertofonts,rememberthatafontmustbeavailable
beforeyouselectit.Soifyouwantto selectacartridgeordownloadedfont,
youfirsthaveto putin thecartridgeor downloadthe font.
Selecting primary or secondary fonts
Ofthethreeselectionmethods,youwillsavethemostprogrammingtimeby
shifting back and forth between primary and secondary fonts. That’s
counterbalanced,though,by the fact that you often need more than two
fonts.
Typically,you use primary and secondaryfonts to flip back and forth
betweentwodifferentsymbolsets—forexampleIBMsymbolsets1and2.
Youcandesignateanytwofonts,whetherinternal,cartridgeordownloaded,
as primaryandsecondary.
The way you show you’re talking about a primary font in an Escape
sequenceis to follow the <ESC> symbol with a left parenthesis.For
example,
<ESC>
(S 10H
meansyou want yourprimaryfont pitchedat ten charactersto the inch.
Typingarightparenthesisinsteadmeansyouarereferringtothesecondary
font:
<ESC>
)S 10H
Youdefinea fontas primaryor secondaryas youselectit.To makea font
yourprimaryorsecondaryfont,youusefont-descriptionEscapesequences
suchas thosejust above,specifyingtheattributesyouwant.
If youdon’texplicitlyindicatewhatattributesyouwantforthe primaryor
secondaryfont,the printerwill use the same defaultfont for both. This
defaultfont’sattributesincludetheRoman-8symbolset, 10-pitchspacing,
12-pointheight,uprightstyle,mediumweight,andCouriertypeface.
70