HP LaserJet 4100 HP PCL/PJL reference (PCL 5 Printer Language) - Technical Ref - Page 100
Drawing Bezier Curves, Drawing arcs 3 of 3, Table 20-5
View all HP LaserJet 4100 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 100 highlights
Figure 20-5 Drawing arcs (3 of 3) Drawing Bezier Curves The Bezier Absolute (BZ) and Bezier Relative (BR) commands use your current pen position as the first control point in the Bezier curve. You specify the second, third, and fourth control points. If you are drawing more than one curve, the fourth control point of the first curve (X3, Y3) becomes the first control point of the next curve. The following example shows a simple command sequence using BZ to draw a Bezier Curve in the shape of a sine wave (shown in the figure following the example). Table 20-5 Example: Drawing Bezier Curves ECE EC%ØB IN; Reset the printer. Enter HP-GL/2 mode. Initialize HP-GL/2. SP1; Select pen number 1. The SP command must be used to enable printing. PA1000,5000;PD; Specify absolute plotting and move to position (1000,5000); pen down. BZ2000,8000, 4000,2000,5000,5000; EC%ØA Draw a Bezier curve with (1000,5000) as the starting point (first control point). Specify (2000,8000), (4000,2000), and (5000,5000) as the second, third, and fourth control points. Enter the PCL mode. 20-8 The Vector Group EN