PW, Pen Width

This command specifies a new width for the logical pen. Subsequent lines are drawn in this new width. Use PW to vary your lines and enhance your drawings. Pen width can be specified as a fixed value or relative to the distance between P1 and P2. The pen width units are selected via the WU command (the default is metric-millimeters).

PW width[,pen;]

or

PW [;]

Parameter

Format

Functional Range

Default

 

 

 

 

width

clamped real

-32768 to 32767

Dependent1

pen

integer

0 or 1

1 (Black)

 

 

 

 

1.Dependent on the mode set by the Pen Width Unit Selection (WU) command: if mode is metric, default width is 0.35 mm; if mode is relative, default width is 0.1% of the diagonal distance from P1 to P2.

You may change the pen width as often as you like, without sending another SP command. If the pen is down when you change the width, the new width takes effect at the next line. If you use WU to change the type of units used for the width parameter (metric or relative), send the WU command before PW.

zNo Parameters- Defaults the pen line width according to the current units set by WU: 0.35 mm if metric; .1% of the diagonal distance from P1 to P2 if relative.

zWidth- Specifies the line width. When the parameter is zero, the printer assumes the thinnest line width (1 dot wide).

Metric widths are scaled by the ratio of the size of the PCL Picture Frame to the HP-GL/2 plot size. For example, if the HP-GL/2 plot size is twice as large as the PCL Picture Frame, “WU;PW.3;” sets the width of vectors to 0.15mm. (If the ratios are different for the X and Y axes, the smaller ratio is used. If the width is less than the thinnest available, then the thinnest width is used.)

EN

PW, Pen Width 22-29

Page 593
Image 593
HP 5961-0509 manual PW, Pen Width, Width Clamped real 32768 to Dependent Pen Integer Black