2001/10/02
CHAPTER 2 "PCL" - 33
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)
(0,0)
(0,0)
(0,0)
"TEXT"
X
Y
X
X
X
Y
Y
Y
Portrait Landscape
Reverse portrait
Reverse landscape
Top margin
Physical page
Logical page
Top margin
Logical page
Physical page
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.
# = 0
# = 1
# = 2
# = 3