Xerox 96 Printer User Manual


 
FORMS DESCRIPTION LANGUAGE
3-10 XEROX DOCUPRINT 96/DOCUPRINT 96MX LPS FORMS CREATION GUIDE
GRID command
Specifying grid unit size and form
origin
The GRID command tells the system how far apart to space the
horizontal and vertical grid lines. This command also specifies the
location of the form origin with respect to the virtual page origin. All
FDL commands create and place form elements (lines, boxes, and
so forth) relative to the form origin.
The format of the GRID command is as follows:
Example:
GRID IS 1 INCH;
format-id
Name of a predefined format. The format may be one of the
standard formats listed in table 2-1 or a user-defined format.
n Number of inches, centimeters, dots, xdots, or cpi and lpi that
specifies the size of a grid unit. Size in inches or centimeters
represents the length of one side of a square grid unit. If n is
omitted when dots or xdots is specified, 1 is assumed. If only one
dots parameter is specified, the grid unit is the same number of
dots in both the horizontal and vertical dimension.
y Number of inches, centimeters, dots, or xdots that the form
origin is offset downward from the top of the virtual page. The
coordinate y=0 represents the top of the virtual page. If y is not
specified, the top edge of the form is located at the top edge of
the virtual page. If inches, centimeters, dots, or xdots are not
specified in this parameter, inches are assumed.
x Number of inches, centimeters, dots, or xdots that the form
origin is offset to the right of the left edge of the virtual page. The
coordinate x=0 represents the left edge of the virtual page. If x is
not specified, the left edge of the form is located at the left edge
of the virtual page. If inches, centimeters, dots, or xdots are not
specified in this parameter, inches are assumed.
Inches and centimeters may have two decimal places. Dots and
xdots must be expressed in integers only. The values n, y, and
x must be positive numbers.
The GRID command specified in number of dots allows a
greater flexibility than the more conventional methods of
specifying the grid. For example, instead of being limited to two
decimal places of accuracy when specifying inches or
centimeters, the grid can be specified to the dot or xdot. This
feature also eliminates any errors caused by rounding.
ORIGIN
y
GRID [UNIT] [IS]
INCH[ES]
CM
CENTIMETER
S
DOTS
XDOTS
x
INCH[ES]
CM
CENTIMETERS
DOTS
XDOTS
;
format-id
n
INCH[ES]
CM
n
CENTIMETERS
n
CPI n LPI
[
n
] DOTS [[n] DOTS]
[
n
] XDOTS [[n] XDOTS]