CMS Redbook Overview

Page 232

Example 9-9 shows the sample lines of the [AFP2PDF] section in the arswww.ini file, where AFP is set to convert to PDF. Example 9-9 The arswww.ini.file: AFP2PDF section [AFP2PDF] CONFIGFILE=afp2pdf.ini INSTALLDIR=/usr/lpp/ars/www/bin/afp2pdf USEEXECUTABLE=0

The configuration file, afp2pdf.ini, specified in the arswww.ini file Example 9-10 provides a sample configuration file, afp2pdf.ini, specified by the CONFIGFILE parameter in the arswww.ini file. Example 9-10 The 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. It contains one section for each AFP application and a default section. The title line of the section identifies the application group and application. For example, the title line, [CREDIT-CREDIT] identifies the CREDIT application group and the CREDIT application. Use the – (dash) character to separate the names in the title line. The names must match the application group and the application names defined to the OnDemand server. If the application group contains more than one application, then create one section for each application. The parameters that you specify in the [default] section are used by the AFP2PDF transform 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 section does not include one of the specified parameters. The OptionsFile parameter identifies the full path name of the file that contains the transform options used by the AFP2PDF transform. The transform options are used for AFP documents that require special processing. The ImageMapFile parameter 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

Chapter 9. Data conversion

265


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.