HP LaserJet 4100 HP PCL/PJL reference (PCL 5 Printer Language) - Technical Ref - Page 173
Table 21-14, Example: Using EW to Draw a Pie Chart, Enter the scaling mode
View all HP LaserJet 4100 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 173 highlights
Figure 21-18 Table 21-14 Example: Using EW to Draw a Pie Chart ?E Reset the printer. ?%0B Enter HP-GL/2 mode. IN; Initialize HP-GL/2 mode. SP1; Select pen number 1. Even though there is no physical pen, the SP command must be used to enable printing. SC-3000,3000, -2000,2000,1; Enter the scaling mode, specifying P1 as (-3000,-2000) and P2 as (3000,2000). Use isotropic scaling. PA0,0; Specify absolute plotting and move to user-unit location (0,0). EW-1000,90,180; Draw a wedge section with a radius of 1000 user-units, a start angle of 90°, and a sweep angle of 180°. The minus sign before the radius (-1000) sets the zero-degree reference point to the left side of the drawing. EN EW, Edge Wedge 21-29
EN
EW, Edge Wedge
21-29
Figure 21-18
Table 21-14
Example: Using EW to Draw a Pie Chart
?E
Reset the printer.
?%0B
Enter HP-GL/2 mode.
IN;
Initialize HP-GL/2 mode.
SP1;
Select pen number 1. Even though there is
no physical pen, the SP command must be
used to enable printing.
SC-3000,3000,
-2000,2000,1;
Enter the scaling mode, specifying P1 as
(-3000,-2000) and P2 as (3000,2000). Use
isotropic scaling.
PA0,0;
Specify absolute plotting and move to
user-unit location (0,0).
EW-1000,90,180;
Draw a wedge section with a radius of 1000
user-units, a start angle of 90°, and a sweep
angle of 180°. The minus sign before the
radius (-1000) sets the zero-degree
reference point to the left side of the drawing.