HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part I

11-70 Soft Font Creation EN
Character Definition Examples
Bitmap Portrait Character Example
To download a bitmap character descriptor and data for a portrait,
10 Pitch, 12 point, upright medium, Courier lower-case “p”, send:
E
C
*c112E (112 is the decimal character code for an ASCII
lower-case “p”)
E
C
(s140W [character descriptor and data]
Note Notice that the 140 appearing in the Character Definition Command
accounts for 2 bytes of the Character Data Block Header, 14 bytes
of Character Descriptor, and 124 bytes of Character Data. Since the
Character Width is 26 dots, 4 bytes are needed per raster row. Also,
since the Character Height is 31 dots, 124 bytes of Character Data for
a Class 1 character is needed (4 × 31 = 124). No continuation block is
to be expected.
Table 11-52 Character Format, Continuation, and Descriptor
FIELD NAME VALUE DESCRIPTION
Format 4 LaserJet Printer Family
Continuation 0 Not A Continuation Record
Descriptor Size: 14 Bitmap
Class: 1 Normal Raster
Orientation: 0 Portrait
Left Offset: 2 dots
Top Offset: 22 dots
Character Width: 26 dots
Character Height: 31 dots
Delta X: 120 Quarter Dots (30 Dots)