HP Pcl 5 Manual
Here you can view all the pages of manual HP Pcl 5 Manual. The HP manuals for Printer are available online for free. You can easily download all the documents as PDF.
Page 221
ENFont Header Format 11-39 Checksum The Checksum field is over bytes 64 through the end of the header. The checksum should contain a value which, when added to the sum of byte 64 through the reserved byte, equals a value which, when divided by 256 (modulo 256 arithmetic), results in a remainder of 0. For example, if the sum = 10,234 then, 10,234 mod 256 = 250. Therefore, the checksum should = 6 (since 250+6 = 256 which would produce 0 [mod 256]). NoteIn the Format 15 Font Header for TrueType...
Page 222
11-40 Soft Font CreationEN Table 11-30 below shows the structure of the Segmented Font Data section. Segment Identifier (UI) Each entry in the Segmented Font Data Section has its own unique identification number. The following values are defined: Table 11-30 Segmented Font Data Byte 15 (MSB) 8 7 (LSB) 0 x + 0 First segment, Segment Identifier x + 2 First segment, Segment Size x + 4 MFirst segment, Data Segment M x + 4 + 1st seg size Second...
Page 223
ENFont Header Format 11-41 Data segments with an unrecognized identifier are ignored. Segment Size (UI) For each entry in the Segmented Font Data section, the Segment Size indicates the number of bytes in the immediately following Data Segment. The size for the Null Segment is 0. Formats of Data Segments AP (Application Support Segment) The definition of this segment is reserved. CC (Character Complement) This field has the same form (i.e., 8 unsigned bytes) and function as does the Character...
Page 224
11-42 Soft Font CreationEN The optional cvt, fpgm and prep tables, as defined in True Type Font Files, typically appear in the Global TrueType Data Segments of hinted TrueType soft fonts, but should not appear in unhinted fonts. IF (Intellifont Face Data) Reserved for future use. PA (PANOSE Description) This data segment of variable length may be used for the purpose of font selection and substitution. Its definition continues to evolve. A 10-field (10-byte) version sufficient for the description...
Page 225
ENFont Header Examples 11-43 Font Header Examples Two examples for downloading a Font Header are provided below; one for a bitmap font and one for an Intellifont scalable font. Bitmap Example To download a bitmap font header for a portrait HP Roman-8, 10 pitch, 12 point, upright, medium, Courier font, with an ID number of one, send: E C*c1D (set Font ID to 1) E C)s#W (# = 64 bytes of font descriptor data + x bytes of optional data) An example of the bitmap header is shown on the following...
Page 226
11-44 Soft Font CreationEN Intellifont Scalable Example To download an Intellifont scalable header for an HP Roman-8, upright, medium, CG Times scalable font, with an ID number of one, send: E C*c1D (set Font ID to 1) E C)s#W (# = 80 bytes of font descriptor data + x bytes of Global Intellifont data + x bytes of optional data) Style LSB 0 Upright, Normal Width, Solid (0,0,0) Stroke Weight 0 Medium Typeface LSB 3 Body Text Typeface MSB 0 No Font Vendor ID Serif Style 2 Serif Line...
Page 227
ENFont Header Examples 11-45 Table 11-33 FIELD NAME VALUE DESCRIPTION Descriptor Size 80 Bytes Header Format 10 Scalable Font Format Font Type 1 Eight Bit Style MSB 0 Reserved 0 Baseline Location 5380 Y reference in Design Window Cell Width 0 ..not defined for Intellifont Cell Height 0 ..not defined for Intellifont Orientation 0 ..not defined for scalable fonts Spacing 1 Proportional Symbol Set 277 8U: Roman-8 Pitch 2602 29.63% Em Default HMI Design Height 2000 250 Points * 8 x-Height 4009 45.65% Em,...
Page 228
11-46 Soft Font CreationEN Placement 0 ..not defined for scalable fonts Underline Position0 ..not defined for scalable fonts Underline Thickness0 ..not defined for scalable fonts Text Height 0 ..not defined for Intellifont Text Width 4391 Width of En Space First code 33 Last Code 273 Compound Pieces Present (n255) Pitch Extended 0 ..not defined for scalable fonts Height Extended 0 ..not defined for scalable fonts Cap Height 5851 66.7% Em Font Number hex 43 01 69 54 Native,...
Page 229
ENFont Header Examples 11-47 ....Global Intellifont Data ....}= 112 bytes added to header data ....Copyright Statement (optional) ....}= x bytes added to header data ....Application Support (optional) ....}= x bytes added to header data Table 11-33 (continued)
Page 230
11-48 Soft Font CreationEN Character Definitions Following the font header, the individual characters must be defined. Every PCL character definition contains a character descriptor and a body of character data. The character definition always consists of one or more character data blocks. Each character data block begins with its own header. The character data block header always has a size of 2 bytes. The first data block of a character definition must always have a character descriptor...