HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part II

EN HP-GL/2 & PCL Orientation Interactions 17-17
HP-GL/2 & PCL Orientation Interactions
The relationship between the orientation of the HP-GL/2 coordinate
system and the PCL coordinate system is important. Figure 17-6
illustrates this relationship for the default HP-GL/2 orientation (RO 0)
and the PCL logical page orientation. As shown in the illustration, in
the default HP-GL/2 orientation, the origin of the HP-GL/2 coordinate
system defaults to the lower-left corner of the PCL Picture Frame.
(HP-GL/2 and PCL X-coordinates increase in the same direction,
but the Y-coordinates increase in opposite directions.) Notice that a
change in the PCL logical page orientation changes the orientation
of the PCL coordinate system and the HP-GL/2 coordinate system.
Figure 17-6 Orientation Interactions Between PCL and HP-GL/2
The relationship between the coordinate systems can be changed
using the HP-GL/2 Rotate (RO) command. Rotations specified by the
RO command are relative to the default HP-GL/2 orientation (which
matches the PCL orientation). Figure 17-7 shows how the RO
command modifies the default HP-GL/2 orientation.
Note A change in PCL print direction has no effect on the HP-GL/2
orientation, the physical position of the picture frame, or the picture
frame anchor point.