AFP2PCL Example
An example of using the AFP2PCL utility is
AFP2PCL /I=x0facob9
This will convert an AFP coded font file, x0facob9.fnt, into a PCL font file named x0facob9.pcl.
The AFP2PCL utility requires these files:
- AFP coded font file (system coded font files are named X0DAxxxx.fnt)
- AFP character set file (system character set files are named C0FAxxxx.240/300)
- AFP code page file (the system’s standard code page is T1DOC037). The code page file cannot have an extension.
In addition, AFP2PCL uses the FSISYS.INI and CODEPAGE.INI files. AFP2PCL looks for the FMRES control group in the FSISYS.INI file. In the FMRES control group, AFP2PCL looks for DefLib and CodePage options. Set the DefLib option to the directory where your system resources are stored.
Set the CodePage option to the name of the INI file which contains code page information. The system looks for the CODEPAGE.INI file in the DefLib path specified in the FMRES control group. In this example,
< FMRes >
CodePage = CODEPAGE.INI
DefLib = \fap\mstrres\fmres\deflib\
The name of the INI file containing code page information is CODEPAGE.INI and will be located in the \fap\mstrres\fmres\deflib\directory directory.
© Copyright 2020, Oracle and/or its affiliates. All rights reserved. Legal notices.