HP PCL Commands
HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 41
10.8.4 Orientation
Defines the position of the logical page and the default direction of text printing with respect to
the physical page.
If the printer has received printable data, an orientation change ejects the current page and
opens another page in the new orientation. Since this command ejects the page, it cannot be
used to change text orientation within a page. The command is ignored if the new orientation
and the current orientation are the same.
This command does not affect graphics.
This command has the following effects:
44
Prints all data received before the command.
44
Executes a formfeed and carriage return.
44
Sets the following to their user defaults:
- logical page
- print direction
- page length
- text length
- top margin, left margin, right margin
- HMI and VMI
This command should be sent at the beginning of a page because it ejects a page containing
printable data. Since this command defaults the above features, it should be followed by com-
mands that set any desired non-default values.
This command affects only text orientation - not raster graphics orientation. For example, if ori-
entation is changed from portrait to landscape, graphics will continue to print in portrait. This
can result in clipping if CAP is not positioned to take this into account.
TABLE 20. Orientation - Esc & ll # O
#
Value
DJ600
DJ610C
DJ660C
DJ670C
DJ680C
DJ690C
DJ695C
DJ810C
DJ830C
DJ850C
DJ870C
DJ880C
DJ890C
DJ895C
DJ970C
HP2000C
EFFECT
0
44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44
Portrait
1
44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44
Landscape
2
Reverse Portrait
3
44 44 44
Reverse Landscape
Default
0
Range
0 to 3 - Command is ignored for out of range values