HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part I
8-22 PCL Font Selection EN
Scalable, Proportional-Spaced Font
This example illustrates how to select a primary, scalable, CG Times,
proportional-spaced font with the following characteristics (note that
all of the font characteristics are specified except pitch which is not
required for a proportional font):
The following escape sequences can be sent to the printer to select a
primary font with the above characteristics:
E
C
(0U
E
C
(s1P
E
C
(s14.25V
E
C
(s0S
E
C
(s3B
E
C
(s4101T
Combining the above sequences results in:
E
C
(0U
E
C
(s1p14.25v0s3b4101T
Notes If an escape sequence does not contain a value field, the printer
assumes a value of zero; therefore, the command
E
C
(sB can be sent
to the printer instead of
E
C
(s0B.
Sending shortened font selection commands can result in selection of
an unexpected font. This is due to failure to track previously specified
characteristics and their selection priority in relation to the current font
selection. Thus, it is recommended that all of the characteristics
be sent to ensure that the correct font is selected.
CHARACTERISTIC VALUE
ESCAPE
SEQUENCE
Symbol set ASCII
E
C
(0U
Spacing Proportional
E
C
(s1P
Height 14.25 point
E
C
(s14.25V
Style Upright
E
C
(s0S
Stroke weight Bold
E
C
(s3B
Typeface family CG Times
E
C
(s4101T