CL Command Reference - CRTFNTTBL

CL Command List > CRTFNTTBL Reference

Description:

The Create Font Table (CRTFNTTBL) command allows the user to create a font mapping table to be used by Print Services Facility (PSF). These tables allow the user to change, add, and remove entries in a font table that controls:
1. Host-resident to printer-resident font character set mapping
2. Printer-resident to host-resident font character set mapping
3. Host-resident to printer-resident code page mapping
4. Printer-resident to host-resident code page mapping
5. Printer-resident to printer-resident font substitution mapping

In performing the printer to host and host to printer font mapping (first four tables above), the user tables are searched first for a match. If no match is found, then the system font or code page tables are searched.

For the printer-resident to printer-resident font substitution table, the following processing is done by the system:

. If the printer-resident font specified in the print job is supported by the printer, then it is used. The printer-resident to printer-resident font substitution table is not searched.

. If the printer-resident font specified in the print job is not supported by the printer, then the printer-resident to printer-resident font substitution table is searched.
¨C If a matching entry is found in the printer-resident font substitution table and the entry is supported by the printer, then the specified substitute font in the printer-resident font substitution table is used.
¨C If a matching entry is not found in the printer-resident font substitution table or if the specified substitute font is not supported by the printer, then the system will use its internal font substitution tables to perform the font substitution.

Restrictions:

. The PSF feature is required to use this command.


Examples:

CRTFNTTBL FNTTBL(*PHFCS)
TEXT(¡¯Printer to Host Font Mapping Table¡¯)

This command creates a Printer to Host Font Mapping Table. The table will be named QPHFCS and created into library QUSRSYS. The table is created with no entries. Entries can be added or changed by running the Add Font Table Entry (ADDFNTTBLE) and Change Font Table Entry (CHGFNTTBLE) commands.