CHGFNTRSC (Change Font Resource)
CHGFNTRSC Command syntax diagram
Purpose
The Change Font Resource (CHGFNTRSC) command allows you to mark font character sets and code pages as eligible to be captured. Fonts and code pages that are marked with FNTCAPTURE(*YES) are eligible to be captured after downloading on printers that support font capturing. This allows IPDS printers that support font capturing "capture" or cache a host downloaded fontto dynamically which has been marked with font capture *YES. The captured font then appears to PSF/400 like a printer resident font and remains in the printer even after it has be powered off and then on again. Printing performance is improved by eliminating subsequent font downloads to the printer.
Caution must be used when marking security sensitive fonts as FNTCAPTURE(*YES). There exists a possiblity that someone could access the captured font in the printer from another print job on the same system or another print job on a different system if the printer is LAN attached.
To use a host font referenced in a print job, have authority to the font object and its library on the OS/400 regardless if it is marked as eligible to be captured or not.
In addition to marking the font character set and code page, also activate font capturing on the printer you are using. To activate font capturing on an IPDS printer, specify FNTCAPTURE(*YES) on the CRTPSFCFG or CHGPSFCFG command.
Notes
- Font character set and code page pairs that are marked as eligible to be captured will be downloaded to printers that do not support font capturing.
- Marking coded fonts is not supported. No change will take effect when attempting to mark a coded font.
Required Parameters
- FNTRSC
- Specifies the name and library of the font character ser or code page to be marked. Marking coded fonts is not supported. No change will take effect when attempting to mark a coded font.
The possible library values are:
*LIBL: All libraries in the job's library list are searched until the first match is found.
*CURLIB: Only the libraries in the current library for the job are searched. If no library is specified as the current library for the job, QGPL is used.
library-name: Specify a library name. Only the library named in this parameter is searched.
font-resource-name: Specify the name of the font character set or code page being marked.
Optional Parameters
- FNTCAPTURE
- Specifies whether the font character set or code page is to be marked as eligible for font capturing.
*SAME: The value for this parameter remains unchanged.
*YES: The font character set or code page is eligible to be captured after downloading to the printer. If the printer does not support font capturing, this information is ignored and the font is downloaded.
: The font character set or code page is not eligible for font capturing. It will also be downloaded to the printer.
Example for CHGFNTRSC
CHGFNTRSC QFNT61/X0G16F FNTCAPTURE(*YES)This example font character sets X0G16F in library QFNT61 as eligible for font capturing.
Error messages for CHGFNTRSC
*ESCAPE Messages