FORMS DESCRIPTION LANGUAGE
text
Text characters that are printed at the specified location.
Multiple text strings can be specified by enclosing each text
string in single quotation marks. Separate each text string
with one or more spaces. (A string is a series of characters.)
Each string is printed as one physical line of text. Text strings
enclosed by single quotes (for example, 'abcde') can be
broken and continued onto the next input record; the FDL
compiler skips all embedded spaces until it finds the first
character of the next record.
Default
If direction and alignment are not specified, the defaults are
HORIZONTAL and CENTER. The default for units is DOTS.
Considerations
A box with matching coordinate values must be defined before
the TEXT IN BOX command can reference it. Thus, the statement
allows nine options for the position in a box where the text is to
be placed.
Reference
Refer to the position parameters and to the “Command
examples” appendix for illustrations regarding text positioning.
Figure 2-2.
Text positioning
1
4
7
2
3
5
6
8
9
Note that except for CENTER, two keywords are required. If a
location is not specified, the default is to place text in the center
of the box. If the selected font causes the text to overflow the
box or overflow the page, the system prints the form as specified
and generates a message indicating the maximum size font, in
points, that will fit in the allotted space.
Adjacent boxes
The BOX position is specified by the coordinates of the upper
left corner of the box in which the text string is to be placed. If
text is to be placed in an adjacent box (either vertically or
horizontally adjacent), this can be specified by an IN NEXT BOX
parameter, in the following format:
IN
NEXT
HORIZONTAL
BOX
‘text’
‘text’
...;
Adjacent boxes must have a common side. The keywords IN
NEXT HORIZONTAL BOX specify the next horizontal box to the
right of the current box. The keywords IN NEXT VERTICAL BOX
specify the box beneath the current box. These adjacent boxes
are shown in figure 2-3. The default is HORIZONTAL.
Figure 2-3.
Adjacent boxes
2-16
XEROX 4050/4090/4450/4650 LPS FORMS CREATION GUIDE