Control files

RICOH Visual Workbench control files contain information about the enhancements made to sample AFP files. A step in the workflow uses the control file to make the same enhancements to production AFP files.

When you enhance a sample AFP file, RICOH Visual Workbench creates a control file that contains information about how to make the enhancements. The enhancements are not made in the sample AFP file. To see the enhancements when you open the sample AFP file in a subsequent session, you must also open the control file that was used to enhance the sample file.

If you enhance the same sample AFP file (or a similar AFP file) again in another session, RICOH Visual Workbench can use the same control file. All enhancements for the sample AFP file must be defined in the same control file. RICOH Visual Workbench can add all enhancements to the same control file regardless of which component you use to make the enhancements.

Unless you change the name of the control file and its directory path, the control file has the same name as the sample AFP file with a .ctl extension and is saved in the same directory as the sample file. If you want to use a different naming scheme, use one that associates the sample AFP file with its control file. In addition, select a directory that is automatically backed up. For example, you could create directory /aiw/aiw1/control_files/workbench (on Linux) or C:\aiw\aiw1\control_files\workbench (on Windows) and save all control files in that directory. On Linux, permissions should be set so that the RICOH ProcessDirector system user (aiw1 is the default) or all users in the RICOH ProcessDirector group (aiwgrp1 is the default) can read and update files in the directory.

RICOH ProcessDirector provides step templates that use the information in the control file to make enhancements to production AFP files. You can include these step templates in any workflow:

  • IndexAFP: A step based on this step template uses the information in the control file to create page groups and index tags, and define supplemental pages.
  • EditAFP: A step based on this step template uses the information in the control file to create bar codes, text, and hidden areas. As an option, RICOH ProcessDirector can first create page groups and index tags that are defined in the same control file. This step template is available only if AFP Editor is installed.
  • FillWhiteSpace: A step based on this step template uses the information in the control file to fill white space areas in AFP files with content, such as images or text. As an option, RICOH ProcessDirector can first create page groups and index tags that are defined in the same control file. This step template is available only if Whitespace Manager is installed.
  • IdentifyDocuments: A step based on this step template uses the information in the control file to calculate values for document properties.

When you configure the step in a workflow, you can use symbolic notation for the name of the Visual Workbench control file. Symbolic notation lets you use the same workflow for input files that require different Visual Workbench control files. For example, if you have two input files, abc.afp and xyz, with corresponding control files, abc.afp.ctl and xyz.ctl, and you want to use the same workflow for both files, you can use ${Job.InputFile}.ctl as the control file. ${Job.InputFile}.ctl causes RICOH ProcessDirector to set the value of the Visual Workbench control file property to the name of the input file plus the .ctl extension.