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. For more
information see the PCL 5 Printer Language Technical
Reference Manual.
The following example shows a simple command sequence
using BZ ( Bezier Absolute ) to draw a Bezier Curve in
the shape of a sine wave.
Note: The Bezier command is not
supported on printers prior to
the LaserJet 4 printer.
LEGEND: Ec = [Ctrl] [P] Esc] in DOS EDIT
EcE Resets the printer.
Ec%0B Enters HP-GL/2 mode.
IN; Initializes HP-GL/2.
SP1; Selects pen number 1
(black). The SP command
must be used to enable
printing.
PA1000,5000;PD; Specifies absolute
plotting and moves to
position (1000,5000) then
puts the pen down.
BZ2000,8000,4000,2000,5000,5000; Draws a bezier curve
with (1000,5000) as the
starting point (first
control point). Specifies
(2000,8000), (4000,2000),
and (5000,5000) as the
second, third and fourth
control points.
Ec%0A Enters PCL mode.
EcE Sends a reset to end the
job and eject the page.
Copyright Hewlett-Packard Co. 1993
The information contained herein is subject to change
without notice.
Hewlett-Packard shall not be liable for incidental or
consequential damages in connection with the use of this
material.
file: /Techref/language/pcl/lj1902.asc, 2KB, , updated: 1993/11/15 16:16, local time: 2024/12/25 09:59,
|
| ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/techref/language/pcl/lj1902.asc"> language pcl lj1902</A> |
Did you find what you needed?
|