4.2.20. Positioning the cursor; 4.2.21. Vertical positioning; Positioning the cursor - Page 62

Brother HL-2230 Command Reference Guide for Software Developers

2014 Dodge Charger SRT Owner Manual

Table of Contents

Technical Reference Guide
GLOSSARY
background image

 

CHAPTER 2 PCL - 42 

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. 

 

Detailed Information for Brother HL-2230 Command Reference Guide for Software Developers

Lists of information found in Brother HL-2230 Command Reference Guide for Software Developers - Page 62

  • 4.2.
  • 4.2.
  • 21. Vertical positioning Vertical cursor positioning - rows Esc&amp;a#R (27)(38)(97)#(82) &lt;1Bh&gt;&lt;26h&gt;&lt;61h&gt;#&lt;52h&gt; # = 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.

Related Documents for Brother HL-2230 Command Reference Guide for Software Developers