Specifications
Revision C 16/01/96
Chapter 8 "HP-GL2" 45
6.6. Character Plot Instructions
Instruction Function
SD Define Standard Font
AD Define Alternate Font
SS Select Standard Font
SA Select Alternate Font
FI Select Primary Font
FN Select Secondary Font
LB Define Label
DT Define Label Terminator
LO Label Origin
DI Absolute Direction
DR Relative Direction
DV Define Variable Text Path
CP Character Plot
CF Character Fill Mode
SI Set Absolute Character Size
SR Set Relative Character Size
SL Set Character Slant
SB Scalable or Bitmap Fonts
ES Extra Space
TD Transparent Data
Introduction
The character group commands enable you to print text to accompany your HP-GL/2 generated graphics
without leaving graphics mode. You can use any font that would be available to you in LaserJet
emulation mode, and you can modify various printing characteristics of the text, for example the size,
direction and slant of the characters.
SD - Define Standard Font
SD [
attribute, value
] [..] [;]
attribute ; a font attribute to be defined
value ; the value of the attribute
• This command allows you to define the standard font and its attribute.
• attribute takes a value from 1-7. 1=symbol set, 2=spacing, 3=pitch, 4=height, 5=posture, 6=stroke weight
and 7=typeface.
• value selects an option for the specified attribute.
• If the defined font is not available another font is selected that matches the defined font's specified attributes
as closely as possible. The symbol set attribute has the highest priority for matching, and typeface has the
lowest.
• If you omit all parameters, the default standard font attributes are used. These are shown below.
Attribute Meaning Default value
Description
1 Symbol set 277
Roman-8
2 Spacing 0
Monospacing
3 Pitch 9
9 cpi
4 Height 11.5
11.5 point
5 Posture 0
Upright characters
6 Stroke weight 0
Medium
7 Typeface 48
Stick font