CHAPTER 2 PCL - 41
4.2.20.
Positioning the cursor
You can position the cursor anywhere on the logical page. In addition, the cursor position is automatically
changed when text or graphics are printed. You can either position the cursor using absolute PCL coordinate
values or position it relative to the current cursor position, using dots, decipoints or rows and columns as units.
In case of using dots, the units value is defined by the ESC & u # d command. The commands for positioning
the cursor are listed below.
4.2.21.
Vertical positioning
Vertical cursor positioning - rows
Esc&a#R (27)(38)(97)#(82)
<1Bh><26h><61h>#<52h>
# = number of rows
A plus or minus sign preceding the number of rows parameter indicates that the cursor is to be positioned
relative to its current position. A signed positive parameter value signifies that the cursor is to be
repositioned vertically downwards on the page, a negative value means that it will be moved upwards.
An unsigned number as the parameter signifies that the vertical repositioning is absolute - the cursor will be
repositioned the specified number of rows below the top margin, the PCL coordinate system's x-axis.
The parameter value can have up to two decimal places.
The cursor's horizontal position remains unchanged.
If you attempt to move the cursor to a position that is outside the boundaries of the logical page, the cursor
will be positioned at either the top or bottom of the logical page as appropriate.
Vertical cursor positioning - units
Esc*p#Y (27)(42)(112)#(89)
<1Bh><2Ah><70h>#<79h>
# = number of units
Units value is defined by the Esc & u # D command.
A plus or minus sign preceding the number of dots parameter indicates that the cursor is to be positioned
relative to its current position. A signed positive parameter value signifies that the cursor is to be
repositioned vertically downwards on the page, a negative value means that it will be moved upwards.
An unsigned number as the parameter signifies that the vertical repositioning is absolute - the cursor will be
repositioned the specified number of dots below the top margin, the PCL coordinate system's x-axis.
The cursor's horizontal position remains unchanged.
If you attempt to move the cursor to a position that is outside the boundaries of the logical page, the cursor
will be positioned at either the top or bottom of the logical page as appropriate.
Vertical cursor positioning - decipoints
Esc&a#V (27)(38)(97)#(86)
<1Bh><26h><61h>#<56h>
# = number of decipoints in 1/720"
A plus or minus sign preceding the number of decipoints parameter indicates that the cursor is to be
positioned relative to its current position. A signed positive parameter value signifies that the cursor is to be
repositioned vertically downwards on the page, a negative value means that it will be moved upwards.
An unsigned number as the parameter signifies that the vertical repositioning is absolute - the cursor will be
repositioned the specified number of decipoints below the top margin, the PCL coordinate system's x-axis.
The cursor's horizontal position remains unchanged.
If you attempt to move the cursor to a position that is outside the boundaries of the logical page, the cursor
will be positioned at either the top or bottom of the logical page as appropriate.
Summary of Contents for HL-4140CN
Page 4: ......
Page 15: ...CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 137: ...CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 155: ...CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 208: ...CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 285: ...CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 313: ...CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 334: ...CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 346: ...CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 373: ...CHAPTER 10 CARBON COPY FUNCTION 1 CHAPTER 10 CARBON COPY FUNCTION ...
Page 383: ...APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 490: ...APPENDIX C HBP MODE COMMANDS 1 APPENDIX C HBP MODE COMMANDS For HL 820 1020 1040 Only ...