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 171
ENDefine Symbol Set 10-5 The following abbreviations are used to define the data type of each field in the symbol set header: Header Size (UI) Set the header size to the size of the header data — the number of bytes from Header Size (byte 0) to the last byte just before the beginning of the Symbol Map data bytes. This value is 18 or greater. Font Header Field Data Type Notation (B) : Boolean (0, 1) (UB) : Unsigned Byte (0 . . 255) (SB) : Signed Byte (-128 . . 127) (UI) : Unsigned...
Page 172
10-6 User-Defined Symbol SetsEN Encoded Symbol Set Designator (UI) This field must match the ID code in the Symbol Set ID code command. This field contains the symbol set ID code. The symbol set ID code is calculated from a symbol set ID selection value using the following formula: Symbol Set ID Code = (# * 32) + (ID - 64) where # is the decimal number (0 to 1023) and ID is the ASCII character code of the letter. For example: Assume the ID selection value selected for this symbol set is 17Q,...
Page 173
ENDefine Symbol Set 10-7 First Code (UI) Specifies the first character code in the set. Last Code (UI) The Last Code specifies the last character code in the set. Together, the First Code through the Last Code identify the range of character codes which map to the symbol index numbers (characters) in the Symbol Map field. Character Requirements (Array of UB) and character requirement This 8-byte field works in conjunction with the Character Complement field in the header of a type 10 or 11...
Page 174
10-8 User-Defined Symbol SetsEN MSL Symbol Index Character Requirements Bit Value Designated Use 63 1 Basic Latin required (such as ISO 8859/1 Latin 1) 0 Basic Latin not required 62 1 East European Latin required (such as ISO 8859/2 Latin 2). 0 East European Latin not required 61 1 Turkish required (such as ISO 8859/9 Latin 5) 0 Turkish not required 34 1 Math required (such as Math-8) 0 Math not required 33 1 Semi-graphic required (such as PC-8 D/N) 0 Semi-graphic...
Page 175
ENDefine Symbol Set 10-9 Unicode Symbol Index Character Requirements Bits (numbers/values) Bit Value Designated Use 31 1 ASCII required (such as ISO 6 ASCII) 0 ASCII not required. 30 1 West Europe extensions required (such as ISO 69 French). 0 West Europe extensions not required. 29 1 East Europe extensions required (such as ISO 8859/2 Latin 2). 0 East Europe extensions not required. 28 1 Turkish extensions required (such as ISO 8859/9 Latin 5). 0 Turkish extensions not...
Page 176
10-10 User-Defined Symbol SetsEN Examples of values for the field include: Bit Field Designated Use Value (Hex) Meaning 0000000000000000 Default requirement (MSL); symbol set can be used with any typeface indexed bu MSL. 8000000000000000 Symbol set (MSL) requires only the Basic Latin Symbol Collection (such as Roman-8) 0000000100000000 Symbol set (MSL) requires only the Dingbat Collection. 0000000000000001 Default requirement (Unicode); symbol set can be used with any typeface indexed bu...
Page 177
ENDefine Symbol Set 10-11 Symbol Map (Array of UI) The symbol map contains a list of symbol index numbers. This list identifies symbols for the symbol set. (Refer to Appendix D in the PCL 5 Comparison Guide for a MSL and Unicode symbol indexes.) The symbol map pairs (maps) a character code to a symbol index number. The range of character code numbers (paired with symbol index numbers) is the range from the First Code through the Last Code fields in the header. The first symbol index number in...
Page 178
10-12 User-Defined Symbol SetsEN Symbol Set Control Command This command provides a means for making user-defined symbol sets permanent or temporary, and for deleting them. E C * c # S # = 0 -Delete all temporary and permanent user-defined symbol sets. 1 - Delete all temporary user-defined symbol sets. 2 - Delete current user-defined symbol set (last symbol set ID code specified). 4 - Make current user-defined symbol set temporary. 5 - Make current user-defined...
Page 179
ENUser-Defined Symbol Set Examples 10-13 User-Defined Symbol Set Examples The following two examples illustrate the concept of user-defined symbol sets. They create symbol sets for PC-8 in MSL and Unicode symbol indexes. The necessary escape sequences are shown in each example. Unicode Symbol Index Example Symbol Map Data: E C*c341R PCL Symbol Set #IDs: 10U E C(f526W Symbol Set 526 bytes in length 00 12 Header Size 18 bytes 01 55 ID code 341 decimal: 10U 03 Format 3 (Unicode Symbol Index) 02...
Page 180
10-14 User-Defined Symbol SetsEN MSL Symbol Index Example Symbol Map Data:(continued) 00 41 (character code 65) Uppercase A MM 00 61 (character code 97) Lowercase A MM 20 7f (character code 252) Superior Lowercase N 00 b2 (character code 253) Superior Numeral 2 25 a0 (character code 254) Small Solid Square Box E C*c341r5S PCL Symbol Set #ID: 10U, Make this symbol set permanent. Symbol Map Data: E C*c341R PCL Symbol Set #ID: 10U E C(f528W Symbol Set 528 bytes in length 00 12 Header Size 18...