10/10/03

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.

(0,0)

X

"TEXT"

Y

 

 

Portrait# = 0

 

Y

X

(0,0)

Reverse portrait# = 2

Top margin

Physical page

Logical page

X

 

 

(0,0)

Y

 

Landscape

# = 1

 

Y (0,0)

Physical page

 

 

Logical page

 

X

Top margin

 

 

Reverse landscap# = 3

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.

CHAPTER 2 "PCL" - 33

Page 51
Image 51
Homelite HL-1470N, HL-P2500, HL-1660E, HL-2400CE, 2060 Esc= 2761 1Bh3Dh, Esc&l#O 2738108#79 1Bh26h6Ch#4Fh, Esc&a#P 273897#80