Rectangular Fill Examples

Following are two examples that demonstrate the way to print and fill rectangular shapes. The first example demonstrates filling rectangles with solid fill and the second example demonstrates filling with a shading pattern.

Solid Fill (Black/White)

To print a 900 by 1500 Unit black rule (3 inches by 5 inches at

300units-per-inch), then “white fill” a small area inside the black rectangle, perform the following steps.

1Position the cursor:

?*p300x400Y This moves the cursor to PCL Unit position (300, 400) within the PCL coordinate system.

2Specify the width of the rule:

?*c900A

This sets the rule width to 900 PCL Units

 

(3 inches at 300 units-per-inch).

3Specify the height of the rule:

?*c1500B

This sets the rule height to 1500 PCL

 

Units (5 inches at 300 units-per-inch).

4Print the rule:

?*c0P

This example prints a black filled

 

rectangular area.

5Position the cursor inside the rectangular area:

?*p600x700Y

6Specify the width and height for the smaller white fill rectangular area:

?*c300a600B

5-52 The PCL Print Model

EN

Page 116
Image 116
HP L 5 manual Rectangular Fill Examples, Solid Fill Black/White