Table 23-14 Example: Using the DI Command (continued)

DI-1,-1;LB

Print the same word in the third quadrant and

DIRECTIONCR*;

Carriage Return.

 

 

 

DI-1,1;LB

Print the word in the fourth quadrant and

DIRECTIONCR*;

Carriage Return.

 

 

 

EC%0A

Enter the PCL mode.

ECE

Send a reset to end the job and eject the page.

 

 

 

 

 

 

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.

23-34The Character Group

EN

Page 646
Image 646
HP 5961-0509 manual DI-1,-1LB Print the same word in the third quadrant, Carriage Return, 23-34The Character Group