HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part I

6-8 Cursor Positioning EN
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.
Note The 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.