Using font-mapping files with the ps2afp or the pdf2afp command

By default, InfoPrint uses the psfonts.map font-mapping file when you enter the ps2afp or the pdf2afp command; you do not have to specify the name of the default font-mapping file with the command.

To use font-mapping files that you have created when you enter the ps2afp or the pdf2afp command, you must do one of these:

  • Enter the path and name of the font-mapping file as the value of the ps_font_map_files keyword in the transform daemon configuration file. For performance reasons, this is the recommended method. You can specify more than one font-mapping file, if necessary. Separate the font-mapping files with colons.

    For example, to specify the font-mapping files font1.map and font2.map, enter this:

    ps_font_map_files=/path/font1.map:/path/font2.map

  • Enter the path and name of the font-mapping file as the value of the ps_font_map_files transform command configuration file. Use the same syntax as described for entering the value in the transform daemon configuration file. Using this method can result in significant performance degradation.
  • Specify the font-mapping file, including its path name, from the command line using the -F flag of the ps2afp or the pdf2afp command. You can specify multiple files using multiple -F flags; InfoPrint concatenates them from left-to-right (first entered to last entered) in that order.

    For example:

    ps2afp -F/path/font.map
    This method can also result in degraded performance.

Note: If you use the ps2afp -F or the pdf2afp -F command flag or the ps_font_map_files keyword in the transform command configuration file to specify a font-mapping file, and the value is different than that specified in the transform daemon configuration file, the transform daemon restarts the PostScript interpreter so that the new value for the font-mapping file takes effect. However, restarting the PostScript interpreter decreases performance.