The thickness of fill lines for hatching and cross hatch is selected using the PW (Pen Width) command. Due to the way hatching and cross-hatch lines are drawn, they may extend beyond the character outline by up to 1/2 of the current pen width. When using a small pen width and specifying a black edge pen, the edging covers up hatching lines that extend outside the character outline. However, as the pen width increases, the edge pen may not be wide enough to compensate for this, resulting in a fill that overlaps the character edges. To ensure that the character fill looks correct when using hatching patterns, use a narrow pen width, especially for small point sizes (see illustration below).

Figure 23-10Character Fill Overflowing

Table 23-8 Example: Using the CF Command

ECE

Reset the printer.

EC%0B

Enter HP-GL/2 mode.

IN;

Initialize HP-GL/2 mode.

 

 

SP1;

Select pen number 1 (black).

 

 

SD1,21,2,1,4,140,

Specify a 140-point Univers Bold font and

5,0,6,3,7,4148;SS;

select it for printing.

 

 

PA1000,3000;DT*;

Specify absolute plotting and move to

 

(1000,3000); specify (*) as the label

 

terminator.

 

 

FT3,50,45;

Specify a hatching fill type with 50 plotter units

 

between each line, with the lines set at a 45°

 

angle.

 

 

CF1,1;LBA*;

Select character fill mode 1 (edge) and edge

 

with pen number 1 (black); print the letter “A”.

 

 

PR127,0;

Move the pen position 127 plu to the right.

 

 

23-22The Character Group

EN

Page 634
Image 634
HP 5961-0509 manual Between each line, with the lines set at a, CF1,1LBA Select character fill mode 1 edge and edge