Configuring the AFP2PDF.INI file

About this task

The following is an example of an AFP2PDF.INI file:
[CREDIT-CREDIT]
OptionsFile=
ImageMapFile=creditImageMap.cfg

[default]
OptionsFile=
ImageMapFile=imagemap.cfg
AllObjects=0
The structure of the file is similar to a Windows .INI file, and contains one stanza for each AFP application and one default stanza. The title line of the stanza identifies the application group and application. For example, the following title line identifies the CREDIT application group and the CREDIT application :
[CREDIT-CREDIT]
Use the - (dash) character to separate the names in the title line. The names must match the application group and application names defined to the Content Manager OnDemand server. If the application group contains more than one application, then create one stanza for each application.

The parameters that you specify in the [default] stanza are used by AFP2PDF to process documents for AFP applications that are not identified in the AFP2PDF.INI file. The default parameters are also used if an AFP application stanza does not include one of the parameters specified.

The parameter OptionsFile identifies the full path name of the file that contains the transform options used by AFP2PDF. The transform options are used for AFP documents that require special processing. See the AFP2PDF documentation for details about the transform options file.

The parameter ImageMapFile identifies the image mapping file. The image mapping file can be used to remove images from the output, improve the look of shaded images, and substitute existing images for images created by the AFP2PDF Transform. Mapping images that are common in most of your AFP documents (such as a company logo) reduces the time required to transform documents. If specified, the image mapping file must exist in the directory that contains AFP2PDF programs. You can specify the directory that contains the programs for AFP2PDF with the ODConfig.AFP2PDF_INSTALL_DIR field in the ODConfig object. See the AFP2PDF documentation for details about the image mapping file.

The parameter AllObjects determines how ODWEK processes documents that are stored as large objects in Content Manager OnDemand. The default value is 0 (zero), and means that ODWEK retrieves only the first segment of a document. If you specify 1 (one), then ODWEK retrieves all of the segments and converts them before sending the document to the viewer.
Note: If you enable large object support for very large documents, then your users might experience a significant delay before they can view the document.