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

EN DR, Relative Direction 23-37
DR, Relative Direction
This command specifies the direction in which labels are drawn,
relative to the scaling points P1 and P2. Label direction is adjusted
when P1 and P2 change so that labels maintain the same relationship
to the scaled data. Use DR to change labeling direction when you are
labeling curves.
DR run,rise[;]
or
DR [;]
The DR command updates the Carriage Return point to the current
location. While DR is in effect, with or without parameters, the label
direction is affected by changes in the location of P1 and P2. DR is
also affected by the Define Variable Text Path (DV) command. Refer
to the DI command earlier in this chapter for an explanation of this
interaction.
z No Parameters— Defaults the label direction to relative and
horizontal (parallel to the X-axis). Equivalent to (DR1,0).
z Run— Specifies a percentage of the distance between P1
X
and
P2
X
.
z Rise— Specifies a percentage of the distance between P1
Y
and
P2
Y
.
Table 23-18
Parameter Format Functional Range Default
run clamped
real
–32768 to 32767 1% of P2
X
–P1
X
rise clamped
real
–32768 to 32767 0