HP (Hewlett-Packard) PCL Photo Scanner User Manual


 
EN Rectangular Area Fill Examples 14-13
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.
1 1. Position the cursor:
E
C
*p300x400Y
This moves the cursor to PCL Unit position (300, 400) within
the PCL coordinate system.
2 2. Specify the width of the rule:
E
C
*c900A
This sets the rule width to 900 PCL Units (3 inches at 300
units-per-inch).
3 3. Specify the height of the rule:
E
C
*c1500B
This sets the rule height to 1500 PCL Units (5 inches at 300
units-per-inch).
4 4. Print the rule:
E
C
*c0P
This example prints a black filled rectangular area.
5 5. Position the cursor inside the rectangular area:
E
C
*p600x700Y