HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part II
EN DI, Absolute Direction 23-29
DI, Absolute Direction 
This command specifies the slope or direction at which characters are 
drawn, independent of P1 and P2 settings. Use DI to change labeling 
direction when you are labeling curves in line charts, schematic 
drawings, blueprints, and survey boundaries.
DI run,rise [;]
or 
DI [;]
The DI command updates the Carriage Return point to the current 
location. While DI is in effect, with or without parameters, the label 
direction is not affected by changes in the locations of P1 and P2. 
However, the Define Variable Text Path (DV) command interacts 
with the DI command (and DR), as explained later in this section.
z No Parameters — Defaults the label direction to absolute and 
horizontal (parallel to X-axis). Equivalent to (DI1,0).
z Run or Cos θ — Specifies the X-component of the label 
direction.
z Rise or Sin θ — Specify the Y-component of the label direction.
• Together, the parameters specify the slope and direction of the 
label.
Table 23-12
Parameter Format  Functional Range Default
run (or cos 
θ
)  clamped real  –32768 to 32767  1
rise (or sin 
θ
)  clamped real  –32768 to 32767  0










