HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part II

20-20 The Vector Group EN
Bezier curves are drawn with the current pen, line type, current line
attributes, and pen-state (up/down). The curve is clipped to the
hard-clip limits and the soft-clip window. Following the command
execution, the current pen position is updated to the end point of
the curve.
The BR command is allowed in Polygon Mode. (The first chord after
PM1 is not treated as a pen-up move.)
z X
1
, Y
1
... — Specify the location of the second (X
1
, Y
1
), third
(X
2
,Y
2
), and fourth (X
3
, Y
3
) control points, in relative increments
(relative to the first control point).
Table 20-12 Example: Using the BR Command (Bezier Relative)
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. Even though
there is no physical pen, the SP
command must be used to enable
printing.
PA1016,5080; Specify the absolute point (1016,5080)
as the starting location.
PR;PD; Specify relative plotting and pen down.
BR0,3048,4572,0,
3556,2032,-508,1016,
2540,508,2540,-5080;
Draw a Bezier using the current position
(1016,5080) as the first control point.
The specified control points for the first
curve are (0,3048), (4572,0), and
(3556,2032). The second curve uses
the last control point of the previous
curve as the first control point
(3556,2032). The other three control
points for the second curve are
(-508,1016), (2540,508), and
(2540,-5080).
E
C
%ØA Enter the PCL mode.
E
C
E Send a reset to end the job and eject
the page.