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

    							ENHorizontal Cursor Positioning (PCL Units) Command 6-7
    Horizontal Cursor Positioning (PCL Units) 
    Command 
    This Horizontal Cursor Positioning command moves the cursor to a 
    new position along the horizontal axis.
    ? * p # X
    #  =   Number of PCL Units
    Default =NA
    Range =0 - logical page right bound
    A value field (#) with a plus sign (+) indicates the new position is to 
    the right of and relative to the current cursor position; a minus sign (–) 
    indicates the new position is to the left of and relative to the current 
    cursor position. No sign indicates an absolute distance which is 
    referenced from the left edge of the logical page. The left most 
    position is 0 and the right most position is the right bound of the 
    logical page.
    If a request is made for a location outside the printer’s logical page, 
    the current active position (CAP) is moved to the appropriate logical 
    page limit.
    NoteThe current unit size used in PCL Unit moves is determined by the 
    value specified in the Unit of Measure command. If no other value is 
    specified, the number of units-per-inch for PCL Unit moves is one unit 
    equals 1/300 inch.          
    						
    							6-8   Cursor PositioningEN
    Horizontal Cursor Positioning Control Codes 
    Four control codes can be used to position the cursor horizontally on 
    the current line. These control codes are explained below.
    NoteThe distance which the cursor is moved by the Space (SP), 
    Backspace (BS), and Horizontal Tab (HT) control codes is defined by 
    the current HMI value. The current unit of measure setting affects how 
    HMI values are rounded. For example, if the unit of measure is set to 
    96 (one PCL Unit = 1/96 inch), then the HMI is rounded to the nearest 
    1/96 inch. If the unit of measure is set to 300 (one PCL Unit = 1/300 
    inch), the HMI is rounded to the nearest 1/300 inch.
    CR - Carriage Return 
    Moves the current active position (CAP) to the left margin on the 
    current line. (Refer to “Line Termination Command” later in this 
    chapter.)
    SP - Space 
    Moves the current active position (CAP) to the right by one column 
    position. Space may be a printable character or a control code. If a 
    character is defined for the Space code, Space is printable; 
    otherwise, it is a control code. For proportionally spaced fonts, a 
    Space control code moves the cursor by the current HMI value; 
    however, a printable space moves the cursor the width of the 
    character. For fixed pitch fonts, a space, whether control code or 
    printable, moves the cursor according to the HMI value. 
    						
    							ENHorizontal Cursor Positioning Control Codes 6-9
    BS - Backspace 
    Moves the current active position (CAP) left a distance equal to the 
    width of the last printed symbol or space. If the active position is 
    already at the left margin, no action is taken. If the cursor is currently 
    beyond the right margin, BS positions the cursor just to the left of the 
    right margin. When using fixed pitch fonts, the Backspace distance is 
    defined by the current print pitch (HMI setting).
    When using proportionally-spaced fonts, a single Backspace moves 
    back to center the overstrike character. After printing the overstriking 
    character, the cursor returns to its position prior to the Backspace. 
    Multiple backspaces each move back the distance of the last printed 
    symbol or space. For example, if “world” was printed with a 
    proportional font and then 5 backspaces were performed, the 
    distance moved back would be five times the width of the “d.”
    HT - Horizontal Tab   
    Moves the current active position (CAP) to the next tab stop on the 
    current line. The tab stops are at the left margin and every 8th column 
    between the left margin and the right bound of the logical page. If the 
    new horizontal position crosses the right margin, the new horizontal 
    position is set to the right margin. If the current HMI value is 0, the 
    command is ignored.     
    						
    							6-10   Cursor PositioningEN
    Vertical Cursor Positioning (Rows) Command 
    This Ver tical Cursor Positioning command moves the cursor to a new 
    line in the same column position.
    ? & a # R
    #  =   Number of Rows
    Default =NA
    Range =–32767 to 32767 (valid to 4 decimal places)
    A value field (#) with a plus sign (+) indicates the new position is 
    downward from and relative to the current cursor position; a minus 
    sign (–) indicates the new position is upward from and relative to the 
    current cursor position. No sign indicates the new position is absolute 
    from the top margin. The top position, defined by the top margin, is 0 
    and the bottom position is determined by the bottom of the logical 
    page.
    NoteSince the top margin can be changed using a printer command, the 
    physical location of the point (0,0) may change. This affects the cursor 
    position on the page.
    If a request is made for a location outside the printer’s logical page, 
    the current active position (CAP) is moved to the appropriate logical 
    page limit. 
    						
    							ENVertical Cursor Positioning (Decipoints) Command 6-11
    Vertical Cursor Positioning (Decipoints) 
    Command      
    This Ver tical Cursor Positioning command moves the cursor to a new 
    position along the vertical axis.
    ? & a # V
    #  =   Number of Decipoints (1/720 inch)
    Default =NA
    Range = –32767 to 32767 (rounded to the first decimal place)
    A value field (#) with a plus sign (+) indicates the new position is 
    downward from and relative to the current cursor position; a minus 
    sign (–) indicates the new position is upward from and relative to the 
    current cursor position. No sign indicates an absolute distance from 
    the top margin. The top position, defined by the top margin, is 0 and 
    the bottom position is determined by the bottom of the logical page.
    NoteSince the top margin can be changed using a printer command, the 
    physical location of the point (0,0) may change. This affects the cursor 
    position on the page.
    If a request is made for a location outside the printer’s logical page, 
    the current active position (CAP) is moved to the appropriate logical 
    page limit. 
    						
    							6-12   Cursor PositioningEN
    Vertical Cursor Positioning (PCL Units) Command      
    This Ver tical Cursor Positioning command moves the cursor to a new 
    position along the vertical axis.
    ? * p # Y
    #  =   Number of PCL Units
    Default =NA
    Range = –32767 to 32767
    A value field (#) with a plus sign (+) indicates the new position is 
    downward from and relative to the current cursor position; a minus 
    sign (–) indicates the new position is upward from and relative to the 
    current cursor position. No sign indicates an absolute distance from 
    the top margin. The top position, defined by the top margin, is 0 and 
    the bottom position is determined by the bottom of the logical page.
    NoteSince the top margin can be changed using a printer command, the 
    physical location of the point (0,0) may change. This affects the cursor 
    position on the page.
    If a request is made for a location outside the printer’s logical page, 
    the current active position (CAP) is moved to the appropriate logical 
    page limit.
    NoteThe current unit size used in PCL Unit moves is determined by the 
    value specified in the Unit of Measure command. If no other value is 
    specified, the number of units-per-inch for PCL unit moves is one unit 
    equals 1/300 inch. 
    						
    							ENHalf-Line Feed Command 6-13
    Half-Line Feed Command     
    The Half-Line Feed command moves the cursor to the same 
    character position one half-line down. The distance moved for a 
    Half-Line Feed is one-half of the current line spacing (defined by the 
    last VMI or line spacing setting).
    ? =       
    Vertical Cursor Positioning Control Codes 
    Two control codes can be used to position the cursor vertically. These 
    control codes are explained below.
    LF - Line Feed
    Advances the current active position (CAP) to the same horizontal 
    position on the next line. The distance to the next line is defined by 
    the current line spacing (defined by the last VMI or line spacing 
    setting). (Refer to “Line Termination Command” later in this chapter.)
    FF - Form Feed
    Advances the current active position (CAP) to the same horizontal 
    position at the top of the text area on the next page. (Refer to “Line 
    Termination Command” later in this chapter.)       
    						
    							6-14   Cursor PositioningEN
    Line Termination Command 
    The Line Termination command controls the way the printer interprets 
    CR, LF, and FF control characters. All CR, LF and FF control 
    characters received after the Line Termination Command are 
    interpreted as shown below.
    ? & k # G 
    #  =   0- CR=CR; LF=LF; FF=FF
       1 - CR=CR-LF; LF=LF; FF=FF
       2 - CR=CR; LF=CR-LF; FF=CR-FF
       3 - CR=CR-LF; LF=CR-LF; FF=CR-FF
    Default =0
    Range =0-3
    For example, if a value field of 1 is sent, the printer interprets each 
    Carriage Return (CR) received as a Carriage Return (CR) and Line 
    Feed (LF) control code. A Line Feed or Form Feed would be sent 
    as is.
    If a value of 3 is sent, the printer interprets each Carriage Return (CR) 
    received as a Carriage Return (CR) and Line Feed (LF); it interprets 
    each Line Feed (LF) received as a Carriage Return (CR) and Line 
    Feed (LF); and it interprets each Form Feed (FF) received as a 
    Carriage Return (CR) and Form Feed (FF).       
    						
    							ENPush/Pop Cursor Position Command 6-15
    Push/Pop Cursor Position Command 
    The Push/Pop Cursor Position command allows the current cursor 
    position to be stored and recalled.
    ? & f # S
    #  =   0  - Push (Store cursor position)
         1 - Pop (Recall a cursor position)
    Default =0
    Range =0, 1 (Values outside range are ignored)
    A value field of 0 pushes the cursor position onto the stack, leaving 
    the current position unaffected. A value field of 1 pops the position 
    from the stack, restoring it as the current cursor position.
    NoteThe last item pushed is the first item popped.
    Twenty positions may be pushed. If you try to save more than 
    20 positions, the command is ignored. If you try to restore more 
    positions than were pushed, the command is ignored. A printer reset 
    restores the current active position stack to the top (all saved 
    positions are discarded).
    The positions stored in the stack are not changed with an orientation 
    change. Therefore, the positions are relative to the top left corner of 
    the current orientation. Also, a position pushed in one orientation and 
    popped in another can result in a position that is outside the logical 
    page. If the position popped is outside the current logical page, the 
    position is moved to the appropriate logical page limit. 
    						
    All HP manuals Comments (0)

    Related Manuals for HP Pcl 5 Manual