Home > HP > Printer > HP Pcl 5 Manual

HP Pcl 5 Manual

    Download as PDF Print this page Share this page

    Have a look at the manual HP Pcl 5 Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 1114 HP manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.

    							ENUnbound Scalable Fonts 9-9
    Symbol Collections   
    The symbols in an unbound font (typeface) can be divided into 
    symbol collections. These symbol collections identify the symbols 
    according to some language basis or special application usage. 
    Some symbol collections include: Basic Latin, East European, 
    Turkish, Math, Semi-Graphic, and Dingbats. If a symbol collection is 
    included in an unbound font, all of the symbols of that collection are 
    included.
    NoteSee Appendix D in the PCL 5 Comparison Guide to identify symbols 
    in the various collections.
    The symbols within a symbol collection do not change from one 
    unbound font to the next. For example, the Basic Latin collection 
    always contains the same symbols. Different fonts may contain 
    different symbol collections. For example, the internal Univers 
    typeface contains the Latin, Math, and Semi-Graphic collections 
    (these collections contain all the symbols required for the 35 symbol 
    sets that Univers supports). The ITC Zapf Dingbats typeface, on the 
    other hand, contains only the Dingbats collection, which includes all 
    the symbols required for the five supported symbol sets.
    When searching unbound scalable fonts (during font selection) for 
    those that match the requested symbol set, the printer actually 
    searches for symbol collections. To identify symbol collections which 
    meet the needs of the requested symbol set, the printer uses two 
    numbers: the Character Requirements number and the Character 
    Complement number. 
    						
    							9-10   Font ManagementEN
    Character Complement Numbers   
    The “Intellifont Unbound Scalable Font Header” (header) includes a 
    64 bit field (bytes 78-85) which contains the Character Complement 
    number. For TrueType fonts, in the “Format 15 Font Header for 
    Scalable Fonts” (unbound), the Character Complement number is 
    included in the accompanying “Segmented Font Data” section of the 
    header.
    The Character Complement number identifies the symbol collections 
    in the font. Each bit in this field corresponds to a symbol collection 
    (not all bits are currently defined; refer to Appendix D in the PCL 5 
    Comparison Guide).
    Intellifont example: If bits 63 and 34 are cleared (set to zero) it 
    indicates that the unbound font contains the Basic Latin (bit 63) and 
    Math (bit 34) symbol collections and that the character index is in 
    HP’s MSL numbers (bit 0).
    TrueType example: If bits 31, 30, and 0 are cleared (set to zero), it 
    indicates that the unbound font contains ASCII, Latin 1 extensions 
    and is based on Unicode numbers.
    Character Requirements Number   
    The other number the printer uses to determine symbol set 
    compatibility, the Character Requirements number, is provided as 
    part of the information contained in the symbol set. The Character 
    Requirements number is a 64-bit number analogous to the Character 
    Complement number; however, it identifies the symbol collections 
    needed by the symbol set.
    Intellifont example: If a symbol set based on HP’s MSL numbers 
    requires one or more characters from the standard Latin collection 
    and some of the characters from the Math collection then bits 63 and 
    34 are set to one (refer to Appendix D in the PCL 5 Comparison 
    Guide for information regarding the various symbol collections). 
    						
    							ENUnbound Scalable Fonts 9-11 TrueType example: If a symbol set based on Unicode numbers 
    requires one or more characters from the standard ASCII collection 
    and some of the characters from the Latin 5 collection, then bits 31, 
    28 and 0 are set to one (refer to Appendix D in the PCL 5 Comparison 
    Guide for information regarding the various symbol collections).
    As stated above, to determine which unbound scalable fonts contain 
    the symbols for the specific symbol set, the printer must identify those 
    unbound fonts that contain the symbol collections of the requested 
    symbol set. To do this, the printer accesses the Character 
    Requirements number for the requested symbol set. If, for example, 
    the Roman-8 symbol set was requested, the printer would access the 
    Character Requirements number from the Roman-8 symbol set 
    information in the printer. This number is then compared with the 
    Character Complement number of each unbound font in the printer. If 
    any matches are found, those unbound fonts are included in the list of 
    potential fonts for selection.
    Final Font Selection   
    After the process above is complete, the printer contains a list of all 
    fonts (bitmap, bound, and unbound) which support the requested 
    symbol set. (If no fonts are found for the specified symbol set, 
    Roman-8 is used. If more than one font remains, the printer continues 
    comparing font selection characteristics, eliminating fonts, until only 
    one remains. Whenever only one font remains, it is selected for 
    printing.
    Symbol Set Mapping Table        
    The printer receives character codes in the range 0-255 which, 
    depending on the selected symbol set, identify the symbols to print or 
    control codes to execute.
    There are hundreds of symbols available in unbound fonts in 
    HP LaserJet printers, more than can be identified by the character 
    code range (0 - 255). A list of these symbols is provided in the 
    symbol indexes, such as the Master Symbol List (MSL) and the 
    Unicode list In Appendix D of the PCL 5 Comparison Guide). Each 
    symbol in the list is identified by a unique MSL or Unicode number. 
    Symbols in unbound fonts are identified by this number. 
    						
    							9-12   Font ManagementEN
    Since the printer identifies symbols by their symbol index number 
    (range from 0 to 65535), but receives character codes (range 0-255), 
    a relation must be made between the character codes and the larger 
    range of symbol index numbers. This relation is defined by the symbol 
    set mapping table.
    The printer contains a symbol set mapping table for each available 
    symbol set. These tables list the character code range and 
    corresponding list of symbol index numbers. Using this mapping the 
    printer identifies which indexed character is printed for the character 
    code in the current symbol set.
    A partial symbol set mapping table is shown in Table 9-1 for the 
    Roman-8 symbol set.
    Table 9-1 Roman-8 Symbol Index Mapping
    Character CodeMSL Index 
    (decimal)Unicode Index 
    (hexadecimal)
    32  0 
    33   1   0021
    34   2   0022
    35   3   0023
    36   4   0024
    37   5   0025
    38   6   0026
    39   8   2019
    40   9   0028
    41   10   0029
    MM    M
    252   189   25a0
    253   190   00bb
    254   191   00b1  
    						
    							ENUnbound Scalable Fonts 9-13
    Printing a Character  
    When an unbound font is selected for printing and a character code is 
    received, the printer accesses the requested symbol set mapping 
    table to identify the MSL or Unicode number. For example, if the 
    Roman-8 symbol set is selected and the printer receives character 
    code 254, the printer accesses the Roman-8 symbol set mapping 
    table (Table 9-1). In the Roman-8 mapping table, character code 254 
    is mapped to MSL number 191 or Unicode number 00b1 
    (plus-over-minus symbol). Thus, to print character code 254, the 
    printer searches the selected unbound font for the correct MSL or 
    Unicode number and prints that character. 
    						
    							ENIntroduction  10-1
    10
    User-Defined Symbol 
    Sets      
    Introduction 
    User-defined symbol sets are used with unbound scalable fonts. 
    Three new commands provide for the implementation of 
    user-defined symbol sets:
    Symbol Set ID Code - 
    E
    C*c#R 
    Define Symbol Set - 
    E
    C(f#W [symbol set data] 
    Symbol Set Control - 
    E
    C*c#S
    To define a symbol set, you must first designate a symbol set ID 
    code. Next, use the Define Symbol Set command to download 
    the list of characters (character codes and related symbol index 
    numbers) for the symbol set. Once this is accomplished, you may 
    select the symbol set for printing in the same manner as any 
    symbol set using the symbol set selection sequence: 
    E
    C(ID
    Once a user-defined symbol set is downloaded, the Symbol Set 
    Control command can be used to assign symbol sets as either 
    temporary or permanent and to delete them. 
    						
    							10-2   User-Defined Symbol SetsEN
    Symbol Set ID Code Command 
    The Symbol Set ID Code command assigns a symbol set ID code to a 
    user-defined symbol set. This ID code is used by the Symbol Set 
    Control command for symbol set management.
    The ID code corresponds to the symbol set ID selection value 
    which is used to identify the symbol set during font selection.
    E
    C * c # R
    #  =   Symbol Set ID Code (decimal)
    Default =0
    Range = 0 - 32,767 (larger values are outside the legal range)
    When downloading a symbol set, the symbol set ID value must match 
    the Encoded Symbol Set Designator field in the user-defined symbol 
    set header.
    As mentioned above, the symbol set ID code is related to a symbol 
    set ID value. The relationship between the ID code and the symbol 
    set ID selection value is shown by the following formula:
    Symbol Set ID code = (# * 32) + (ID - 64)
    where: “#” represents the number portion of the ID selection value 
    which may range from 0-1023; and, “ID” represents the ordinal 
    (decimal) value of the ID character. (Symbol set ID selection values 
    consist of a number and a letter, such as 8U for Roman-8 or 7J for 
    DeskTop etc.)
    For example:
    Assume the ID selection value selected for this symbol set is 17Q, 
    then:
     (17 * 32) + (81 - 64) = 561
    The symbol set ID code is 561. 
    						
    							ENSymbol Set ID Code Command 10-3 When selecting an ID code, select one which is not being used 
    currently. (If an ID code is selected which is already being used in 
    the printer, that symbol set is redefined.) The first step in selecting an 
    ID code is to determine an ID selection value. Since it may be difficult 
    to determine which ID selection values are being used, it is best to 
    select one which has not been assigned. Refer to Appendix C in the 
    PCL 5 Comparison Guide to select a number/letter (ID selection 
    value) combination which has not been assigned. 
    After the ID selection value has been determined, use the conversion 
    formula (shown above) to convert the ID value to an ID code.
    To create a user-defined symbol set:
    1Identify the symbols (symbol index numbers) for the symbol 
    set from the MSL or Unicode list in Appendix D of the PCL 5 
    Comparison Guide. List them in the appropriate character 
    code order.
    2Identify the symbol collections (and Character Requirement bits) 
    that contain the symbols (Appendix D of the PCL 5 Comparison 
    Guide).
    3Identify the Define Symbol Set command header information.
    4Identify a symbol set ID selection value and convert it into its 
    symbol set ID code.
    5Designate the ID code using the Symbol Set ID Code command.
    6Download the symbol set header data and MSL or Unicode 
    numbers using the Define Symbol Set command. 
    To print using the symbol set, it must be selected using the Select 
    Symbol Set command - 
    E
    C(ID, where ID is the symbol set ID 
    selection value used to calculate the symbol set ID code. 
    						
    							10-4   User-Defined Symbol SetsEN
    Define Symbol Set 
    This command defines the characters and character mapping for a 
    user-defined symbol set.
    E
    C ( f # W [symbol set definition data]
    #  =   Number of bytes in symbol set definition
    Default =n/a
    Range = 0 - 32767
    If a user-defined symbol set is already present in the printer and a 
    new, valid symbol set is downloaded with the same Symbol Set ID 
    Code, then the old symbol set is deleted. If an internal symbol set with 
    the same ID code exists, it is overridden by the new symbol set. If the 
    symbol set definition is invalid, the command is ignored. If there is 
    insufficient memory to create the symbol set, the symbol set is 
    discarded.
    NoteSend the Symbol Set ID Code command prior to the Define Symbol 
    Set command to assign an ID code for the user-defined symbol set. If 
    the Symbol Set ID Code command is not sent, the last code sent is 
    used. If none have been sent, then the default (0) is assigned. 
    The data format for the user-defined symbol set is shown in 
    Table 10-1.
    Table 10-1 User-Defined Symbol Set Defintion Format
    Byte   15 - MSB8   7LSB - 0
    0 Header Size (18)
    2 Encoded Symbol Set 
    Designator
    4 Format Symbol Set Type
    6First Code
    8 Last Code
    10 Character Requirements
    Hdr 
    SizeSymbol Map [Last Code — First Code + 1]
    M 
    						
    All HP manuals Comments (0)

    Related Manuals for HP Pcl 5 Manual