4.2.25. Half line feed; 4.2.26. Logical page orientation; 4.2.27. Text direction- Page 65

Brother HL-2140 Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

 

CHAPTER 2 PCL - 45 

4.2.25.

 

Half line feed 

Esc= (27)(61) <1Bh><3Dh> 

This command moves the cursor down half a row as defined by the last VMI or line spacing command 

(Esc&l#C). 

 

4.2.26.

 

Logical page orientation 

Esc&

l

#O (27)(38)(108)#(79) 

<1Bh><26h><6Ch>#<4Fh> 

# = 0, 1, 2 or 3 

ï‚Ÿ

 

This command sets the orientation of the logical page relative to the physical page. 

ï‚Ÿ

 

Values of # produce orientations as follows: 0 = portrait, 1 = landscape, 2=reverse portrait and 3 = reverse 
landscape. 

ï‚Ÿ

 

Sending this command to the printer causes the page length, text length, top, left and right margins to be set 
to their user default values. Any previously transmitted data is printed out and the cursor is positioned at the 
top left hand corner of the text area on the next page. 

ï‚Ÿ

 

Portrait or Landscape orientation can also be selected from the printer's control panel. 

ï‚Ÿ

 

The factory default orientation is portrait.  

 

 

 

 

4.2.27.

 

Text direction 

Esc&a#P (27)(38)(97)#(80) 

<1Bh><26h><61h>#<50h> 

# = 0, 90, 180 or 270. 

ï‚Ÿ

 

This command changes the orientation of the logical page relative to the physical page, but without the side 
effects of the logical page orientation command. Hence you can print text in different directions on the same 
page. 

ï‚Ÿ

 

Values of # have the following effects: 0 = portrait, 90 = landscape, 180= reverse portrait and 270 = reverse 
landscape. The value specifies the angle through which the text direction is rotated counterclockwise. 

ï‚Ÿ

 

The cursor position remains at the same physical page position. 

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

Lists of information found in Brother HL-2140 Command Reference Guide for Software Developers - Page 65

  • 4.2.
  • 25. Half line feed Esc= (27)(61) &lt;1Bh&gt;&lt;3Dh&gt; This command moves the cursor down half a row as defined by the last VMI or line spacing command (Esc&amp;l#C).
  • 4.2.
  • 26. Logical page orientation Esc&amp; l #O (27)(38)(108)#(79) &lt;1Bh&gt;&lt;26h&gt;&lt;6Ch&gt;#&lt;4Fh&gt; # = 0, 1, 2 or 3 ï‚Ÿ This command sets the orientation of the logical page relative to the physical page.
  • 4.2.
  • 27. Text direction Esc&amp;a#P (27)(38)(97)#(80) &lt;1Bh&gt;&lt;26h&gt;&lt;61h&gt;#&lt;50h&gt; # = 0, 90, 180 or 270.

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