CODING A COMPLEX FORM
Drawing boxes
The BOX command enables you to construct individual, stand-
alone boxes or boxes that share common sides. You can also
create a shaded area or construct an invisible box to conveniently
place “floating” text such as titles.
Enter the following COMMENT and BOX command shown in
figure 6-6.
Figure 6-6.
BOX command
FORM 1STFRM;
GRID FMT1;
FONTS UN114A,UN106A,UN104C;
COMMENT *** DRAW HORIZONTAL LINES ***;
AT 7 DRAW 18 LINES FROM 0 TO 132 USING HAI AND REPEAT EVE 3;
AT 8 DRAW 18 LINES FROM 0 TO 24 USI HAI AND REPEAT EVE 3;
AT 9 DRAW 18 LINES FROM 0 TO 24 USING HAI AND REPEAT EVE 3;
COMMENT *** DRAW VERTICAL LINES ***;
AT 24 DRAW VER LINE FROM 5 TO 61 USING HAI;
AT 32 DRAW 11 VER LINE FROM 5 TO 61 USING HAI AND REPEAT EVE 10;
AT 29 DRAW VER LINE FROM 10 TO 61 USI BRO HAI;
AT 38 DRAW 10 VER LINE FROM 10 TO 61 USI BRO HAI AND REPEAT EVE 10;
AT 8 DRAW 18 VER LINE FROM 8 TO 9 USI HAI AND REPEAT VER EVE 3;
AT 19 DRAW 18 VER LINE FROM 8 TO 9 USI HAI AND REPEAT VER EVE 3;
COMMENT *** DRAW BOXES ***;
AT 2,2 DRAW BOX 35 WIDE BY 2 HIGH USI HAIRLINE;
AT 2,82 DRAW BOX 50 WIDE BY 2 HIGH USI HAI;
AT 5,0 DRAW BOX 132 WIDE BY 56 HIGH USI HAI;
AT 5.1,0 BOX 132 WIDE BY 1.8 HIGH USI SHADING;
AT 10.1,0 DRAW 9 BOXES 132 WIDE BY 2.8 HIGH USI SOL HAI
INK 'BLUE' AND FILL USING INK 'XEROX.PICTORIAL.PALE BLUE'
AND REPEAT VER EVE 6;
Using color in boxes
The sample form uses blue ink. You can substitute the color of
ink currently loaded in your system, or leave the default coding.
When you compile the form, enter the SUBSTITUTE INK
CURRENT command, to automatically print your form in the ink
that is loaded, no matter which ink is specified in the form.
6-4
XEROX 4850/4890 HIGHLIGHT COLOR LPS FORMS CREATION REFERENCE