I
CONTROLLING FONTS
Font selection
The LaserJetII emulationlets you defineand selectfontsthree ways:as
primary and secondaryfonts, or by font identificationnumber, or by
description.We’lllookatthefirsttwowaysnow,andexplainselectingafont
by itsattributesa littlefurtheron.
Howeveryouchoosetorefertofonts,rememberthatafontmustbeavailable
beforeyouselectit.Soifyouwantto selectacartridgeordownloadedfont,
youfirst haveto putin thecartridgeor downloadthefont.
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—forexampleIBMsymbolsets 1and2.
Youcandesignateanytwofonts,whetherinternal,cartridgeordownloaded,
as primaryand secondary.
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
means you want yourprimary font pitchedat ten charactersto the inch.
Typinga rightparenthesisinsteadmeansyouarereferringto thesecondary
font:
<ESC>
)S 10H
Youdefinea fontas primaryor secondaryas youselectit. To makea font
yourprimaryor secondaryfont,youusefont-descriptionEscapesequences
suchas thosejust above,specifyingtheattributesyouwant.
If youdon’texplicitlyindicatewhatattributesyouwantforthe primaryor
secondaryfont, the printerwill use the same default font for both. This
defaultfont’sattributesincludetheRoman-8symbolset, 10-pitchspacing,
12-pointheight,uprightstyle,mediumweight,and Couriertypeface.
70