HP 5961-0509 manual Example Using the BR Command Bezier Relative, Prpd, BR0,3048,4572,0

Models: 5961-0509

1 762
Download 762 pages 14.67 Kb
Page 480
Image 480

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.)

zX1, Y1... — Specify the location of the second (X 1, Y1), third

(X2, Y2), and fourth (X3, Y3) control points, in relative increments (relative to the first control point).

Table 20-12 Example: Using the BR Command (Bezier Relative)

ECE

Reset the printer.

EC%Ø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,

Draw a Bezier using the current position

3556,2032,-508,1016,

(1016,5080) as the first control point.

2540,508,2540,-5080;

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).

 

 

EC%ØA

Enter the PCL mode.

ECE

Send a reset to end the job and eject

 

the page.

 

 

20-20The Vector Group

EN

Page 480
Image 480
HP 5961-0509 Example Using the BR Command Bezier Relative, Prpd, Specify relative plotting and pen down, BR0,3048,4572,0