HP LaserJet 4100 HP PCL/PJL reference (PCL 5 Printer Language) - Technical Ref - Page 137
Table 20-28, Example: Using the PR Command, PA10, 10;PD
View all HP LaserJet 4100 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 137 highlights
Table 20-28 Example: Using the PR Command ECE EC%ØB IN; Reset the printer. Enter HP-GL/2 mode. Initialize HP-GL/2 mode. SP1; Select pen number 1. The SP command must be used to enable printing. PA10,10;PD; Move to absolute position (10,10) and put the pen down. PR2500,0,-2500, 1500,0,-1500; EC%ØA ECE Specify relative plotting and draw lines beginning at (10,10) and then moving the relative coordinate distances indicated. Enter the PCL mode. Send a reset to end the job and eject the page. Note Figure 20-20 If an odd number of coordinates is specified (an X coordinate without a corresponding Y coordinate), the printer ignores the last unmatched coordinate. EN PR, Plot Relative 20-45
EN
PR, Plot Relative
20-45
Figure 20-20
Note
If an odd number of coordinates is specified (an X coordinate without
a corresponding Y coordinate), the printer ignores the last unmatched
coordinate.
Table 20-28
Example: Using the PR Command
E
C
E
Reset the printer.
E
C
%ØB
Enter HP-GL/2 mode.
IN;
Initialize HP-GL/2 mode.
SP1;
Select pen number 1. The SP command must
be used to enable printing.
PA10,10;PD;
Move to absolute position (10,10) and put the
pen down.
PR2500,0,-2500,
1500,0,-1500;
Specify relative plotting and draw lines
beginning at (10,10) and then moving the
relative coordinate distances indicated.
E
C
%ØA
Enter the PCL mode.
E
C
E
Send a reset to end the job and eject the page.