CL Command Reference - CPYTOPCFF

CL Command List > CPYTOPCFF Reference

Description:

The Copy to Portable Compiled Format font file (CPYTOPCFF) command copies all of user-defined DBCS character fonts contained in a double-byte character set (DBCS) font table to an existing PCF font file. During the copy operation, a dot matrix conversion is automatically performed. See the description for the Copy From PCF File (CPYFRMPCFF) command for a table that lists the supported dot matrix conversions. There is also a table that lists the maximum number of user-defined DBCS character fonts that can be copied for each type of DBCS font table.

Restrictions: You must have the following authority:
1. *USE authority to the CPYIGCTBL, CRTPF, CHKIN and CHKOUT commands.
2. *USE authority to the DBCS font table.
3. *X authority to directories in the PCF file path name prefix.
4. *RW authority to the PCF font file.



Examples:

Example 1: Copying Without Replacing Existing Fonts

CPYTOPCFF QIGC2424
¡¯/QIBM/ProdData/NetworkStation/fonts/pcf/IBM_JPN12.pcf¡¯
RPLFNT(*NO)

This command copies all user-defined DBCS character fonts contained in the Japanese DBCS font table QIGC2424 (24-by-24 dot matrix font) to the Japanese PCF file named IBM_JPN12.pcf (16-by-16 dot matrix font) in directory /QIBM/ProdData/NetworkStation/fonts/pcf. Only user-defined DBCS character fonts that are not found in the PCF file are copied. During the copy operation, user-defined DBCS character fonts are converted from 24-by-24 dot matrix to 16-by-16 dot matrix.



Example 2: Copying Replacing Existing Fonts

CPYTOPCFF QIGC2424C
¡¯/QIBM/ProdData/NetworkStation/fonts/pcf/Chtpc23.pcf¡¯
RPLFNT(*YES)

This command copies all user-defined DBCS character fonts contained in the Traditional Chinese DBCS font table QIGC2424C (24-by-24 dot matrix font) to the Traditional Chinese PCF file named Chtpc23.pcf (32-by-32 dot matrix font) in directory /QIBM/ProdData/NetworkStation/fonts/pcf. User-defined DBCS character fonts in the PCF file are replaced with those found on the DBCS font table. During the copy operation, user-defined DBCS character fonts are converted from 24-by-24 dot matrix to 32-by-32 dot matrix.