Rectangular Area Fill Examples

This section shows example usage of area fill commands to print pre-defined patterns as well as user-defined patterns.

Pre-defined Pattern Examples

Solid Fill (Black/White)

To print a 900 by 1500 Unit black rule (3 inches by 5 inches at 300 units-per-inch), then white fill a small area inside the black rectangle, perform the following steps.

11. Position the cursor:

EC*p300x400Y

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

22. Specify the width of the rule:

EC*c900A

This sets the rule width to 900 PCL Units (3 inches at 300 units-per-inch).

33. Specify the height of the rule:

EC*c1500B

This sets the rule height to 1500 PCL Units (5 inches at 300 units-per-inch).

44. Print the rule:

EC*c0P

This example prints a black filled rectangular area.

55. Position the cursor inside the rectangular area:

EC*p600x700Y

EN

Rectangular Area Fill Examples 14-13

Page 303
Image 303
HP 5961-0509 manual Rectangular Area Fill Examples, Pre-defined Pattern Examples, Solid Fill Black/White