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

19-34 The Configuration and Status Group EN
RO, Rotate Coordinate System
This command rotates the printers coordinate system relative to the
default HP-GL/2 coordinate system, in the following increments of
rotation: 90°, 180°, and 270°. Use RO to orient your drawing vertically
or horizontally, or to reverse the orientation.
RO angle[;] or
RO [;]
The printer interprets the command parameters as follows:
z No Parameter — Defaults the orientation of the coordinate
system to 0°. Equivalent to (RO0). This is the same as PCLs
current orientation.
z Angle — Specifies the degree of rotation:
0 Sets the orientation to PCLs current orientation.
90 Rotates and shifts the coordinate system 90 degrees in a
positive angle of rotation from PCLs current orientation.
180 Rotates and shifts the coordinate system 180 degrees in a
positive angle of rotation from PCLs current orientation.
270 Rotates and shifts the coordinate system 270 degrees in a
positive angle of rotation from PCLs current orientation.
Angle of Rotation
Note A positive angle of rotation is in the direction of the +X-axis to the
+Y-axis as shown below. (A negative angle of rotation is not allowed in
the RO command.)
Parameter Format Functional Range Default
angle clamped integer , 90°, 180°, or 27