Xerox Xerox Printer Access Facility (XPAF) Support & Software 用户指南
units indicates the unit of measure for specifying the line origin. The
units are INCHES, CENTIMETERS, DOTS, and XDOTS. You can
use two decimal places when you specify inches and centimeters.
You must express DOTS and XDOTS in integers.
units are INCHES, CENTIMETERS, DOTS, and XDOTS. You can
use two decimal places when you specify inches and centimeters.
You must express DOTS and XDOTS in integers.
DRAW is an optional reserved word.
The number of lines you want drawn on your form is n. HORIZONTAL
or VERTICAL specifies the direction of your lines. LINES specifies that
this reserved word is required.
or VERTICAL specifies the direction of your lines. LINES specifies that
this reserved word is required.
IN units is a shorthand method of specifying units for the entire
command. IN units overrides all other units used. For example, if you
want to draw a line using inches but specify grid FMT1, IN units uses
inches as the grid for all units in the specific LINE statement.
command. IN units overrides all other units used. For example, if you
want to draw a line using inches but specify grid FMT1, IN units uses
inches as the grid for all units in the specific LINE statement.
FROM, TO specifies the coordinate at the coordinate start (Cs)
point and the coordinate end (Ce) point.
point and the coordinate end (Ce) point.
SOLID, BROKEN, or DOTTED specifies the type of line you want to
draw.
draw.
HAIRLINE, 0 point (invisible), 1 point, or 2 points specifies the
thickness of the line you want to draw.
thickness of the line you want to draw.
INK n specifies the ink color index from the ink list for a Xerox
highlight or full color LPS printer.
highlight or full color LPS printer.
REPEAT specifies that you want a selected line repeated
according to the following commands.
according to the following commands.
HORIZONTALLY or VERTICALLY specifies the orientation of the
lines you want repeated.
lines you want repeated.
EVERY Ci indicates that you want a line repeated at the
increment (Ci) you have specified.
increment (Ci) you have specified.
AT Ca indicates that you want the line repeated at the absolute
coordinate (Ca) you have specified.
coordinate (Ca) you have specified.
Defaults HORIZONTAL, if you do not specify a line orientation.
SOLID, if you do not specify a line type.
1, if you do not specify a line weight.
VERTICALLY, if you do not specify the REPEAT orientation.
Examples
Long form:
AT 3 INCHES DRAW 5 HORIZONTAL LINES IN INCHES FROM 4
INCHES TO 10 INCHES USING SOLID 1 USING INK 3 AND
REPEAT HORIZONTALLY EVERY 0.50 INCHES;
INCHES TO 10 INCHES USING SOLID 1 USING INK 3 AND
REPEAT HORIZONTALLY EVERY 0.50 INCHES;
Short form:
AT 3 5 LINES 4 TO 10 REPEAT EVERY 0.50;
BOX command
Use the BOX command to describe the size and shape of a box on
your form. Similar to lines, you can repeat boxes at fixed intervals or
at specified locations. The origin of the box is its upper left corner at
the midpoint of the thickness of the outline. If you are using a
HighLight Color printer, the BOX command allows you to outline the
frame of the box in color. Figure 4–12 shows the BOX command
syntax flow.
your form. Similar to lines, you can repeat boxes at fixed intervals or
at specified locations. The origin of the box is its upper left corner at
the midpoint of the thickness of the outline. If you are using a
HighLight Color printer, the BOX command allows you to outline the
frame of the box in color. Figure 4–12 shows the BOX command
syntax flow.
XPAF Forms Generator
30
User Guide and Reference