A number of sets of rectangle-fill commands can be set up for the minidriver. To specify rectangle-fill commands, select Graphics Info from the Printer Data menu on the minidriver's Printer Data window. Then select RectFill to display the initial Rectangle Fill dialog box.
To select an existing set of rectangle-fill commands, highlight the desired set of Rectangle Rill commands to edit on the minidriver's Printer Data window. Then, double click on the selection to display the Rectangle Fill dialog box.
The Rectangle Fill dialog box controls specify rectangle-fill data and commands for printers with rectangle-fill capabilities. Typically, the only printers that provide these capabilities are printers that support a page-control language such as the HPPCL. The data supplied in the Rectangle Fill dialog box describes the printer's minimum and maximum gray levels, the cursor position at the conclusion of a rectangle-fill operation, and so on. The commands supplied in the Rectangle Fill dialog box specify the rectangle's dimensions and fill pattern.
When you finish entering data in the Rectangle Fill dialog box:
·Click the OK button to accept the additions or changes.
·Click the Add button to add an additional set of commands.
·Use the Previous or Next buttons to page to the preceding or next set of commands.
·Click the Delete button to delete a set of commands.
Minimum Gray Level
The wMinGray box contains the minimum percentage value that RasDD can pass as an argument in the printer's gray-fill command.
Diconix 150 Plus: The wMinGray box is empty.
HP LaserJet IIP: Use 1 for the minimum percentage of black pixels. (This means that there is 1 black pixel for every 99 white pixels in the minimum shade or fill pattern.)
Maximum Gray Level
The wMaxGray box contains the maximum value that RasDD can pass as an argument in the printer's gray-fill command.
Diconix 150 Plus: The wMaxGray box is empty.
HP LaserJet IIP: Use 100 for the maximum percentage of black pixels. (This means that there are 100 black pixels and 0 white pixels in the maximum shade or fill pattern.)
General Rectangle-Fill Dialog Box
Click the fGeneral button to display the fGeneral dialog box. The fGeneral dialog box controls specify general rectangle-fill data as follows:
Box | Description |
RF_WHITE_ABLE | (not supported by Windows NT) |
RF_MIN_IS_WHITE | (not supported by Windows NT) |
RF_CUR_X_END | The cursor is aligned with the right edge of the rectangle after a rectangle-fill operation. If this box is not checked, the cursor is positioned at the rectangle origin after the fill operation. |
RF_CUR_Y_END | The cursor is aligned with the bottom edge of the rectangle after a rectangle-fill operation. If this box is not checked, the cursor is positioned at the rectangle origin after the fill operation. |
Diconix 150 Plus: None of the boxes are checked.
HP LaserJet IIP: Check the RF_WHITE_ABLE box to indicate that the HP LaserJet IIP can use the White-fill command.
Rectangle Width
The X Size command that sets the rectangle width.
Diconix 150 Plus: The X Size box is empty.
HP LaserJet IIP: Use the Horizontal Rectangle Size command (esc*cnA) to specify the rectangle's width in 1/300 inch units. The argument n specifies the number of units.
To specify the command, type the following in the X Size box:
\x1B*c%dA
Rectangle Height
The Y Size command sets the rectangle height.
Diconix 150 Plus: The Y Size box is empty.
HP LaserJet IIP: Use the Vertical Rectangle Size command (esc*cnB) to specify the rectangle's height in 1/300 inch units. The argument n specifies the number of units.
To specify the command, type the following in the Y Size box:
\x1B*c%dB
Gray Fill
The Gray Fill command fills a rectangle with a shade of gray.
Diconix 150 Plus: The Gray Fill box is empty.
HP LaserJet IIP: The Area Fill ID and the Fill Rectangular Area commands are combined into a single command. The Area Fill ID command (esc*cnG) specifies the shade of gray, and the Fill Rectangular Area command (esc*cnP) fills a rectangular area.
For the Area Fill ID command, n specifies the percent of shading. For the Fill Rectangular Area command, n specifies the type of fill and can be one of these values:
Value | Fill |
0 | Black |
1 | White |
2 | Shading |
3 | Cross-hatch |
5 | Current pattern |
To specify the combination, type the following in the Gray Fill box:
\x1B*c%dG2P
White Fill
(not supported by Windows NT)
Hatch Fill
(not supported by Windows NT)