
5-4 HP PCL Cursor Position Commands
HORIZONTAL CONTROL (DOTS)
ESC *p#X
Decimal:
027 042 112 # 088
Hex:
1B 2A 70 # 58
#: number of dots
Use this horizontal control command to move the current horizontal cursor (or active print
position) to a new position on the current line.
If you specify a positive value (using a plus sign (+)) in the value field (#), the new position
will be to the right of the current cursor position. If you specify a negative value (using a
minus sign (–)) in the value field (#), the new position will be to the left of the current cur-
sor position. By not specifying a sign, you obtain an absolute distance that is referenced
from the left edge of the addressable print area. The extreme left position is 0 and the ex-
treme right position is the right edge of the addressable print area.
If you specify a location outside of the addressable page area, the cursor will move to the
edge of the addressable page area.
HORIZONTAL CONTROL (CONTROL CODES)
You can also use the four control codes described below to position the cursor horizontally
on the current line.
CR
– Carriage Return
The CR control code moves the cursor to the left margin of the current line. Its use is af-
fected by the line termination command (explained later in this section).
SP
– Space
The SP control code moves the cursor one column position to the right. You can define
space as a printable character or a control code. When used with proportionally spaced
fonts, the SP control code moves the cursor by the current HMI value. As a printable char-
acter, however, the cursor moves the width of a character. When used with fixed fonts,
cursor movement is according to the HMI value, regardless of how space is used.).
BS
– Backspace
The BS control code moves the cursor to the left a distance that is equal to the width of last
printed character or space. No movement occurs if the cursor is already at the left margin.).
The backspace distance equals the HMI value when used with fixed pitch fonts.
Содержание Intellibar M412
Страница 115: ...9 2 HP PCL Graphics Commands Figure 9 1 Star Shaped Raster Image...
Страница 122: ...HP PCL Graphics Commands 9 9 Figure 9 4 Example of Raster Graphic Image Data...
Страница 126: ...HP PCL Graphics Commands 9 13 Figure 9 6 Shading Levels...
Страница 127: ...9 14 HP PCL Graphics Commands Figure 9 7 Fill Patterns...