Xerox Xerox Printer Access Facility (XPAF) Support & Software User Guide
XPAF Forms Generator
52
User Guide and Reference
Setting up the form
Follow these steps to set up the basic elements of your form:
1.
Use the FORM command to specify both a unique form name
that identifies the form to the system and a resolution.
In this example, the form name is XEROX2 and the
resolution is 300 SPI.
resolution is 300 SPI.
FORM XEROX2, RESOLUTION IS 300 SPI;
2.
Specify the physical paper size.
This example specifies U.S. letter size:
PAPER SIZE IS USLETTER;
3.
Specify the grid unit and form origin. The form origin
should coincide with variable data origin and form grid units
should correspond with the character and line spacing of
the variable data.
should correspond with the character and line spacing of
the variable data.
The example below shows the long form of the command
using FMT1 values:
using FMT1 values:
GRID UNIT IS 13.6 CPI 8.1 LPI ORIGIN .18 IN .66 IN; This
example shows the short form of the command: GRID
FMT1;
You do not need to use the LANDSCAPE/PORTRAIT command
to specify page orientation and virtual page size if you specify a
predefined format in the GRID command.
to specify page orientation and virtual page size if you specify a
predefined format in the GRID command.
4.
Specify the fonts you want to use.
In this example, you specify a large font (UN214A) for the
report title, a smaller font (UN107A) for the column headings,
and a very small font (UN104A) for the form identifier:
report title, a smaller font (UN107A) for the column headings,
and a very small font (UN104A) for the form identifier:
FONTS UN214A, UN107A, UN104A;
When you refer to these fonts in later descriptive commands, the
first font specified (UN214A) is identified as FONT 1, the second
as FONT 2, and the third as FONT 3.
first font specified (UN214A) is identified as FONT 1, the second
as FONT 2, and the third as FONT 3.
This example shows entering all of these setup commands in
their long form:
their long form:
FORM XEROX2 RESOLUTION IS 300 SPI;
PAPER SIZE IS USLETTER;
GRID UNIT IS 13.6 CPI 8.1 LPI ORIGIN .18 IN .66 IN;
FONTS UN214A, UN107A, UN104A;