Formatting Examples

Horizontal Characters are printed from left to right. The following shows an

example:

┌────────────────────────────────┐

│ The first line.

│ The second line.

│ The third line.

└────────────────────────────────┘

Vertical Characters are printed vertically from top to bottom. Vertical lines of text

are printed from left to right. The following shows an example:

Field Name Description
Character
spacing
(Horizontal)
|The data specified in the
Horizontal
prompt is used for calculating the
horizontal space that the characters of Text data occupy in a box
element.
When the measurement method is Row/Column, specify *CPI, 5.00,
10.00, 12.00, 13.30, 15.00, 16.70, 18.00, or 20.00.
When the measurement method is Inch, specify *CPI or the value in
inches from 0.01 to 22.75.
When the measurement method is Centimeter, specify *CPI or the
value in centimeters from 0.01 to 57.79.
The default value is *CPI which is the same value as Characters per
inch on the Define Overlay Specifications display or on the Define PFD
Specifications display.
|The value specified in
horizontal
applies only to SBCS fonts. The
character space size of DBCS fonts is extracted from the font resource
on the AS/400 system. If DBCS data is contained in the text data and
the font resource cannot be accessed when creating an overlay or
printing a database file member, the text data formatting in the box may
not be correct.
Character
spacing
(Vertical)
|The data specified in the
Vertical
prompt is used for calculating the
vertical space that the characters of Text data occupy in a box element.
When the measurement method is Row/Column, specify *LPI, 3.00,
4.00, 6.00, 7.50, 8.00, 9.00, or 12.00.
When the measurement method is Inch, specify *LPI or the value in
inches from 0.01 to 22.75.
When the measurement method is Centimeter, specify *LPI or the value
in centimeters from 0.01 to 57.79.
The default value is *LPI which is the same value as Lines per inch on
the Define Overlay Specifications display or on the Define PFD
Specifications display.
|The value specified in
Vertical
applies to only SBCS fonts. The
character space size of DBCS font is extracted from the font resource
on the AS/400 system. If DBCS data is contained in the text data and
the font resource cannot be accessed when creating an overlay or
printing a database file member, the text data formatting in the box may
not be correct.
252 AFP Utilities for AS/400 User’s Guide