Xerox Printer User Manual

Page of 181
USING HFDL COMMANDS
GRID command
Use the GRID command to specify the dimensions of the grid
unit and the location of the form origin with respect to the
virtual page origin.  All HFDL description commands create and
place form elements (lines and boxes) relative to the form origin.
Figure 3–4 shows the command syntax flow.
Figure 3–4.
GRID command syntax
IS
UNIT
;
GRID
format – id
 
n
 
n
ORIGIN
 x
 y
units
LPI
units
units
units
 n
 n
CPI
,
BY
,
,
,
,
,
,
BY
units
Parameters
UNIT and IS are optional words you can use as a lead–in to the
format – id and units identifiers.
The name of the predefined format that you have selected is
format – id.  Refer to the “FMT grid format properties” appendix
for more information.
The size of the grid unit is 
n, expressed in positive numbers of
units (for example, 6 inches).  If you specify inches or
centimeters, the value represents one side of a square grid unit.
If you only specify one DOTS or XDOTS parameter, the grid unit
is the same number of dots both horizontally and vertically. 
CPI specifies the number of characters per inch for the
horizontal size of the grid unit.
LPI specifies the number of lines per inch for the vertical size of
the grid unit.
ORIGIN specifies the origin of the form relative to the virtual
page origin.  ORIGIN establishes the 0.0 X and Y coordinates.
HOST FORMS DESCRIPTION LANGUAGE 3.2 FOR IBM MVS CREATING FORMS
3–7