
HP PCL Graphics Commands 9-15
Fill Rectangle Area
This sequence fills a rectangular area of the specified width and height.
ESC*c#P
Decimal:
027 042 099 #..# 080 (#..# = 48 through 53)
Hex:
1B 2A 63 #..# 50 (#..# = 30 through 35)
#: 0 = Solid fill
1 = Erase (Solid white area fill)
2 = Shaded fill
3 = HP defined pattern fill
4 = User defined pattern fill
5 = Current pattern fill
The level of shading or type of patterned fill used when filling a rectangle is specified by
the current area fill ID. A solid-filled rectangular area is also known as a black rule and
does not require specification of an area fill ID.
The upper left corner of the rectangular area is located at the current active position. The
current active position is not changed during the printing of a rectangular area.
Rectangular areas are independent of the text area and perforation skip mode, i.e., these
boundaries are ignored.
Rectangular areas are limited to the addressable area; rectangular areas that extend outside
the area are clipped.
Rectangle Area Fill Examples
To print a 3- x 5-inch black rule, perform the following steps.
1.
Position the cursor:
ESC*p300x400Y
This moves the cursor to dot position (300, 400) within the PCL coordinate
system.
2.
Specify the width of the rule:
ESC*c900A
This sets the rule width to 900 dots (3 inches).
3.
Specify the height of the rule:
ESC*c1500B
This sets the rule height to 1500 dots (5 inches).
Summary of Contents for Intellibar M412
Page 115: ...9 2 HP PCL Graphics Commands Figure 9 1 Star Shaped Raster Image...
Page 122: ...HP PCL Graphics Commands 9 9 Figure 9 4 Example of Raster Graphic Image Data...
Page 126: ...HP PCL Graphics Commands 9 13 Figure 9 6 Shading Levels...
Page 127: ...9 14 HP PCL Graphics Commands Figure 9 7 Fill Patterns...