CPDEF.FNT file
This file maps each AFP code page name to its code page global identifier (CPGID) and to a Windows character set. If you do not have at least one valid entry in this file for each code page you want to use, the system uses the default code page. When creating this file, keep these rules in mind:
- Parameters must be separated by a comma.
- AFP code page name and code page identifier are required.
- If you create your own code page, you must assign it a unique code page identifier. Leading zeros are invalid.
- Code Page Global Identifier (CPGID) attribute's possible values: IBM-defined CPGID or your own defined CPGID between 65280 and 65534, inclusively. This value matches the name of a code page map file.
- For each CPDEF.FNT entry, you must have a corresponding code page map file with the same name as the CPGID.
- Windows character set attribute's possible values: ANSI or SYMBOL.
Here is an example of this file:
<CODEPG>
;code page = cpgid,wincp
;*****Put User-defined/Custom code pages Here *****
T100ASC4=361,ANSI
T1DOC037=37,ANSI
T1OMR=5280,ANSI
T1POSTBC=5280,ANSI
;******* End User-defined/Custom code pages ******
T1000259=259,SYMBOL
T1000290=290,ANSI
T1000293=293,ANSI
T1000310=310,ANSI
DEFAULT=361,ANSI
© Copyright 2020, Oracle and/or its affiliates. All rights reserved. Legal notices.