Setting up user exit programs

RICOH ProcessDirector can call user exit programs that can modify the AFP print file for a job before or after it prints. Authorized users can modify and compile the sample exit programs that RICOH ProcessDirector provides or they can write their own. RICOH ProcessDirector provides sample exit programs in the /usr/lpp/psf/exits (Linux) or C:\Program Files (x86)\Ricoh\PSF\exits (Windows) directory.
The sample job completion user exit writes job statistics to the /Ricoh/var/psf/ (Linux) or C:\Program Files (x86)\Ricoh\PSF\var\psf\ (Windows) jobcompletion.log file. In the log entries, RICOH ProcessDirector appends aiw1 to the printer name as it appears in the RICOH ProcessDirector user interface.

To set up a user exit program:

  1. In the Printers Portlet, select the printer that you want to assign a user exit program to.
  2. Click Disable.
  3. Select the printer again and click Properties.
  4. In the properties notebook for the printer, click Exits.
  5. Enable the types of user exit programs that you want the printer to call by setting one or both of these properties to Yes:
    • Enable input data exit

      This exit program modifies the contents of the AFP print file before RICOH ProcessDirector sends the print file to the printer.

    • Enable job completion exit

      This exit program modifies the contents of the AFP print file after the printer reports that the job has printed.

  6. Specify the name of the compiled version of the user exit program for one or both of these properties:
    • Input data exit program
    • Job completion exit program
      Note:
    • If the compiled version of the user exit program resides in the /usr/lpp/psf/bin (Linux) or C:\Program Files (x86)\Ricoh\PSF\bin (Windows) directory, you do not need to include the path. If it resides in a different location, you can specify a path with the program name. The value for the combined path and program name can be up to 255 characters.
  7. Click OK.
  8. Select the printer and click Enable.