CHAPTER 4 HP-GL/2 - 39
7.6.1.
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 such as 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 Monospacin
g
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