HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part II
23-34 The Character Group EN
Figure 23-19Varying Print Direction with DI Command Parameter 
Sign
The DI command remains in effect until another DI or DR command is 
executed, or the printer is initialized or set to default conditions.
The following example illustrates the use of positive and negative 
parameters, the use of the cosine and sine, how the LB command 
updates the current pen location, and how DI updates the Carriage 
Return point.
DI-1,-1;LB 
DIRECTIONCR*; 
Print the same word in the third quadrant and 
Carriage Return.
DI-1,1;LB 
DIRECTIONCR*; 
Print the word in the fourth quadrant and 
Carriage Return.
E
C
%0A  Enter the PCL mode.
E
C
E  Send a reset to end the job and eject the page.
Table 23-14 Example: Using the DI Command (continued)










