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

20-22 The Vector Group EN
BZ, Bezier Absolute
This command draws bezier curves using absolute coordinates. The
BZ command uses the current pen position as the first control point,
and specifies the other three control points as absolute coordinates.
BZ X
1
,Y
1
, X
2
,Y
2
,X
3
,Y
3
,...[X
1
,Y
1
, X
2
,Y
2
,X
3
,Y
3
]]
The BZ command uses the current pen location and three specified
control points to draw a bezier curve. After each new Bezier, the last
control point of the previous curve becomes the first control point of
the next Bezier. All curve control points are specified as absolute
coordinates.
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 BZ 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, as absolute coordinates.
Parameter Format Functional Range Default
X
1
, Y
1
... (control points) current
units
-2
23
to 2
23
- 1 no default
Table 20-14 Example: Using the BZ Command (Bezier Absolute)
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.