Subcommands
- SBCS or DBCS Subcommand
-
SBCS | DBCS
Specifies single-byte or double-byte fonts.- SBCS
- Specifies that the font is a single-byte character set. This is the default.
- DBCS
- Specifies that the font is a double-byte character set.
- HEIGHT Subcommand
-
HEIGHT n [POINTS | IN | CM | MM | PELS]
Specifies the height of the outline font.- POINTS
- Each point is equal to 1/72 of one inch. This is the default.
- IN
- Inches.
- CM
- Centimeters.
- MM
- Millimeters.
- PELS
- Pels in the current logical units per inch; for example, in 240ths of an inch.
- TYPE Subcommand (Traditional and Record Format)
-
TYPE {EBCDIC | ASCII | UNICODE}
The TYPE subcommand indicates the type of font being used. This parameter is optional for fonts in a tradtional or record-format page definition.- EBCDIC
- This parameter is normally used for fonts on OS/390-based systems. This is the default.
- ASCII
- This parameter is normally used for fonts on workstation-based systems.
- UNICODE
- This parameter is used with Unicode fonts.
- TYPE Subcommand (XML)
-
TYPE {EBCDIC | ASCII | UNICODE}
The TYPE subcommand indicates the type of font being used. This parameter is required for fonts in an XML page definition.- EBCDIC
- This parameter is normally used for fonts on OS/390-based systems.
- ASCII
- This parameter is normally used for fonts on workstation-based systems.
- UNICODE
- This parameter is used with Unicode fonts (fixed two-byte UNICODE without surrogates).
Note: TYPE indicates what type of font is being used, OS/390 or workstation, for the printing of PRINTLINE, LAYOUT or XLAYOUT commands. UDTYPE (on the PAGEDEF) is the user’s data type (EBCDIC, ASCII, UTF8, UTF16) that is being placed with the font. The font TYPE and user data UDTYPE should match but certain combinations of TYPE and UDTYPE are permitted.- Data is UTF-8 and Font is ASCII or UNICODE
- Data is UTF-16 and Font is UNICODE
- RATIO Subcommand
-
RATIO percent
Specifies the ratio of scaling the width relative to the height in an outline font.- percent
- Represents the percent of the
normal
width of the character that is printed. For example, specifying RATIO 50 yields a font with characters half as wide as normal, and specifying RATIO 200 yields a font with characters twice as wide (200% as wide) as normal. If RATIO is specified, you must also specify the HEIGHT.
- ROTATION Subcommand
-
ROTATION [0 | 90 | 180 | 270]
Specifies the rotation of characters in degrees. The specified value is relative to the inline direction of a printline or field. Valid rotations are 0°, 90°, 180°, or 270°; 0° is the default. - RESOLUTION Subcommand
-
{RESOLUTION | RES} {240 | 300} [{METRICTECHNOLOGY | METTECH} {FIXED | RELATIVE}]
Specifies the resolution and metric technology of a font.- RESOLUTION or RES
- The raster-pattern resolution units in pels per inch. Vald values are 240 and 300.
- METRICTECHNOLOGY or METTECH
- The metric technology used for this raster font:
- FIXED
- Fixed-metric technology
- RELATIVE
- Relative-metric technology
- Note:
- The RESOLUTION subcommand allows rigorous font specifications for use with font fidelity. See the font fidelity subcommand FONTFID on the FORMDEF command.
- For a description of metric technologies, refer to:
- Intelligent Printer Data Stream Reference, S544-3417
- Font Object Content Architecture Reference, S544-3285
Example of PPFA Support for Font Fidelity
FORMDEF xmp01 FONTFID YES ; PAGEDEF xmp01 replace yes ; FONT xx2 res 240 mettech fixed ; PRINTLINE font xx2 ;
In Figure Example of PPFA Support for Font Fidelity, the form definition
xmp01
specifies font fidelity and the page definition specifies a font that has 240 pels per inch resolution and fixed-metric technology. If a font with exactly those characteristics is not accessible by the printer, an error occurs and processing stops.