HP deskjet 600 User Manual

Page of 124
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:
4
4
Prints all data received before the command.
4
4
Executes a formfeed and carriage return.
4
4
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
D
J
6
0
0
D
J
6
1
0
C
D
J
6
6
0
C
D
J
6
7
0
C
D
J
6
8
0
C
D
J
6
9
0
C
D
J
6
9
5
C
D
J
8
1
0
C
D
J
8
3
0
C
D
J
8
5
0
C
D
J
8
7
0
C
D
J
8
8
0
C
D
J
8
9
0
C
D
J
8
9
5
C
D
J
9
7
0
C
H
P
2
0
0
0
C
E
FFECT
0
4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4
Portrait
1
4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4
Landscape
2
Reverse Portrait
3
4
4 4
4
4
4
Reverse Landscape
Default
0
Range
0 to 3 - Command is ignored for out of range values