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+.

    							ENTypeface Family Command 8-19 Some typeface (two-byte) family values are listed below. For a 
    complete listing of typeface family and base values, refer to Appendix 
    C in the PCL 5 Comparison Guide.
    Example 
    To specify CG Times as the typeface family for the primary font, send:
    E
    C)s4101T
    To specify Line Printer as the typeface family for the secondary font, 
    send:
    E
    C)s0TSample Typeface Values
    FamilyValue   Typeface Family
    0  Line Printer
    16602  Arial
    4168  Antique Olive
    4127   ITC Avant Garde
    4119   CG Century Schoolbook
    4101   CG Times
    4148  Univers 
    						
    							8-20   PCL Font SelectionEN
    Orientation 
    The Orientation command (E
    C&l#O) designates the position of the 
    logical page with respect to the physical page. Earlier printers could 
    only print bitmap fonts and raster graphics in the orientation for which 
    they were designed. However, the HP LaserJet IID, IIP, 2000, and all 
    PCL 5 HP LaserJet printers have the capability to automatically rotate 
    bitmap fonts and raster graphics to match the page orientation; 
    therefore, all fonts are available in all four page orientations and print 
    directions. Whenever a scalable font is selected, it is created in the 
    current orientation for printing. Refer to “Logical Page Orientation 
    Command” and “Print Direction Command” in Chapter 5 for more 
    information. 
    						
    							ENFont Selection Examples 8-21
    Font Selection Examples 
    Bitmap, Fixed-Spaced Font 
    This example illustrates how to select a primary, bitmap, Line Printer, 
    fixed-spaced font with the following characteristics (note that all of the 
    font characteristics are specified):
    The following escape sequences can be sent to the printer to select a 
    primary font with the above characteristics:
    E
    C(0UE
    C(s0PE
    C(s16.66HE
    C(s8.5VE
    C(s0SE
    C(s0BE
    C(s0T
    The previous sequence can be shortened by combining sequences 
    that have the same two characters following the E
    C character:
    E
    C(0UE
    C(s0p16.66h8.5v0s0b0T
    Table 8-3
    CHARACTERISTIC VALUE ESCAPE SEQUENCE
    Symbol set ASCII
    E
    C(0U
    Spacing FixedE
    C(s0P
    Pitch 16.66 cpiE
    C(s16.66H
    Height 8.5 pointE
    C(s8.5V
    Style UprightE
    C(s0S
    Stroke weight MediumE
    C(s0B
    Typeface family Line PrinterE
    C(s0T 
    						
    							8-22   PCL Font SelectionEN
    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(0UE
    C(s1PE
    C(s14.25VE
    C(s0SE
    C(s3BE
    C(s4101T
    Combining the above sequences results in:
    E
    C(0UE
    C(s1p14.25v0s3b4101T
    NotesIf 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 VALUEESCAPE 
    SEQUENCE
    Symbol set ASCII
    E
    C(0U
    Spacing ProportionalE
    C(s1P
    Height 14.25 pointE
    C(s14.25V
    Style UprightE
    C(s0S
    Stroke weight BoldE
    C(s3B
    Typeface family CG TimesE
    C(s4101T 
    						
    							ENSummary of Font Selection by Characteristic 8-23
    Summary of Font Selection by Characteristic 
    The following summarizes the procedure the printer uses to select a 
    font. Selection by characteristic is an elimination process. The nine 
    steps are performed in the following order:
    NoteWhen the printer is in 300 dpi mode, any 600 dpi bitmaps are 
    eliminated before the selection process begins.
    1Symbol Set - if the specified symbol set exists, that symbol set is 
    selected; otherwise, Roman-8 is selected.
    2 Spacing - if proportional spacing is specified and available, 
    proportional spacing is selected. If propor tional spacing is 
    specified but is not available, fixed spacing is selected in the 
    current pitch. (A proportionally-spaced font is always available 
    in PCL 5 printers, but it may not be available in the specified 
    symbol set.)
    3Pitch - applies only to fixed spaced fonts. If fixed spacing is 
    specified and available, fixed spacing in the specified pitch is 
    selected.
    Bitmap Fonts: For a fixed-space bitmap font, if the specified 
    pitch is not available, the next greater available pitch is selected. 
    If no greater pitch is available, the closest available lesser pitch is 
    selected. If fixed spacing is specified but is not available, a 
    proportional-spaced font is selected and the pitch characteristic is 
    ignored.
    Scalable Fonts: For a fixed-spaced scalable font, the pitch is 
    used to calculate the appropriate height. The Height selection 
    command is not required. The printer calculates the appropriate 
    height to correspond to the pitch. The user’s height request is 
    recorded in the printer’s font select table for later font selections, 
    but is ignored for this selection. 
    4 Height - the closest height available from the remaining fonts is 
    selected. The closest height is in terms of absolute difference. All 
    bitmap fonts whose heights are within a quarter point of the 
    specified height are considered to have the specified height. 
    						
    							8-24   PCL Font SelectionEN
    NoteFor proportionally-spaced scalable fonts, any specified height is 
    available to the nearest quarter point. For fixed-spaced scalable fonts, 
    the designated height is recorded, and the height is calculated from 
    the requested pitch.
    5Style - if the specified style is available in the remaining fonts, 
    that style is selected; otherwise, this characteristic is ignored.
    6 Stroke Weight - if the specified stroke weight is available in the 
    remaining fonts, that stroke weight is selected.
    If the specified stroke weight is greater than or equal to 0 and is 
    not available, the next thicker available stroke weight is selected. 
    If no thicker stroke weight is available, the closest available 
    thinner stroke weight is selected.
    If the specified stroke weight is less than 0 and is not available, 
    the next thinner available stroke weight is selected. If no thinner 
    stroke weight is available, the closest available thicker stroke 
    weight is selected.
    7 Typeface Family - if the requested typeface is available in the 
    remaining fonts, that typeface is selected; otherwise, this 
    characteristic is ignored.
    8 Location - if after performing all the preceding steps, more than 
    one font remains, the available font from the highest priority font 
    location is selected. The priority of the font locations are: 
    Priority of Locations
    Soft Font (Lowest ID first)   Highest
    Cartridge Font
    1
    1. In printers with two cartridge slots, one slot has priority over the other. Refer to 
    Appendix E of the PCL 5 Comparison Guide for cartridge slot priority information 
    for the different HP LaserJet printers.|
    SIMM Font  |
    Internal Font   Lowest 
    						
    							ENSummary of Font Selection by Characteristic 8-25 9 Orientation - for bitmap fonts the last criteria considered for the 
    selection is its orientation. If two fonts still remain and match in all 
    the above characteristics except orientation, that font which 
    matches the current page orientation is selected.
    If there is a soft font (highest priority location) available that 
    matches all selection characteristics, but is not in the current 
    orientation, and there is an identical font available in a cartridge 
    or internal font (lower priority location) that is in the current 
    orientation, the soft font is selected and rotated.  
    						
    							8-26   PCL Font SelectionEN
    Font Selectionby ID Command 
    Soft fonts can be specified using their associated ID numbers. (ID 
    numbers are assigned to soft fonts using the Font ID command 
    described in Chapter 9, Font Management).
    E
    C ( # X -   Designates soft font # as primary 
    E
    C ) # X -   Designates soft font # as secondary
    #  =   font ID number 
    Default =0
    Range = 0 - 32767
    If the designated font is present, the font is selected as the primary/ 
    secondary font and all primary/secondary font characteristics in the 
    printer’s Font Select Table are set to those of the selected font. 
    However, if the selected font is proportionally spaced, the pitch 
    characteristic is not changed.
    If the designated font is not present, the current font is retained.
    NotesIf a scalable font is selected using an ID number, send the Height or 
    Pitch command (Height for proportional, Pitch for fixed) to specify the 
    height or pitch; otherwise, the characteristic is determined by the 
    value of the former font (as listed in the font select table).
    If the font is a scalable typeface, symbol set is determined from the 
    values contained in the printer’s font selection table. To specify a 
    different symbol set, send a symbol set selection command prior to 
    the Font Selection ID command.
    For shared or multi-user environments, Hewlett-Packard recommends 
    that soft fonts be selected by characteristics rather than ID number. 
    						
    							ENSelect Default Font Command 8-27
    Examples
    To specify the font associated with ID number 7 as the primary font, 
    send:
    E
    C(7X
    To specify the font associated with ID number 5 as the secondary 
    font, send:
    E
    C)5X
    Select Default Font Command 
    The Default Font command sets all of the font characteristics to those 
    of the user (control panel selected) default font.
    E
    C ( 3 @ -  Default primary font characteristics
    E
    C ) 3 @ -  Default secondary font characteristics
    NoteIf the user default font is a proportionally-spaced font, the pitch 
    characteristic is not affected by the default font command.
    HP-GL/2 Font Selection 
    In addition to selecting fonts using the PCL font selection commands, 
    fonts can also be selected and printed in HP-GL/2 mode using the 
    HP-GL/2 label commands (refer to Chapter 23, Character Group). 
    The HP-GL/2 font selection commands allow you to label vector 
    graphic images and to create some special effects with fonts not 
    otherwise available. These special effects include printing outline 
    fonts from fonts which are not outline style, printing mirror-images of 
    fonts, and printing fonts on any angle on the logical page. Fonts can 
    also be scaled using HP-GL/2 vector graphics, however this font 
    scaling method is rather program intensive and not the recommended 
    method (refer to “HP-GL/2 Vector Graphics” in Chapter 25 for 
    additional information). 
    						
    							8-28   PCL Font SelectionEN
    Transparent Print Data Command
    The Transparent Print Data command provides printing access to 
    those characters which the printer normally defines as unprintable. 
    These characters include decimal character codes 0, 7-15, and 27.
    E
    C & p # X  [Transparent Print Data]
    #  =Number of bytes of transparent print data. 
    Default =N/A
    Range = 0 - 32767
    Each transparent print data byte is interpreted as a single character 
    code. The appropriate character is printed if one exists; otherwise, a 
    Space is processed. For example, control codes such as LF, CR, FF 
    are treated as print data while in Transparent Print Data mode.
    Example
    Assuming the currently selected symbol set is PC-8, send the 
    following to print musical notes (decimal code 14):
    E
    C&p1X [ASCII 14]
    The brackets “[ ]” are provided for clarity and are not part of the 
    command sequence.
    NoteIn the ASCII symbol set, decimal 14 is the Shift Out control code (no 
    printable character exists), however, in the PC-8 symbol set, decimal 
    code 14 is also the musical notes character (printable from 
    transparency mode). Refer to Appendix A for character codes for the 
    various symbol sets. 
    						
    All HP manuals Comments (0)

    Related Manuals for HP Pcl 5 Manual