Installing and configuring the pdpr script
- AIX 6.1 or 7.1
- Sun Solaris 9 and 10
- Windows 7
- To install the pdpr script on a different operating system, contact your Ricoh support representative.
The pdpr script uses a control file named
pdpr.cfg to determine whether jobs are sent to InfoPrint Manager or to RICOH ProcessDirector. You can either store the control file on the same computer that you install the
pdpr script on, or you can store it in a central location and let the pdpr script access it using FTP. The pdpr script uses an anonymous login to the FTP server, so the anonymous user must have
read permission for the control file.
To get the most recent pdpr script, contact your Ricoh support representative.
To install and configure the pdpr script:
- Log in to the primary computer as the RICOH ProcessDirector system user (aiw1 is the default), or with a user ID that is a member of the RICOH ProcessDirector group (aiwgrp1 is the default).
- Find the pdpr installer file:
- Copy the file to a temporary directory on the computer that runs the pdpr command.
- Log in to a client computer:
- On an AIX or UNIX-based client, log in as the root user and open a command prompt.
- On a Windows client, log in as a user with administrator permission and open a command prompt.
- Change directories to the directory that contains
- Type: perl pdpr_installerThe installer interface runs in the command prompt window.
- When the installer asks where you want to install the program, choose a different
directory than the temporary directory that
the pdpr_installerwas copied in to.
- If you install into the temporary directory, the installation fails. You get an incomplete installation that has a pdpr directory instead of the pdpr script.
- Respond to the questions in the installer according to these definitions:
- Hostname or IP address of RICOH ProcessDirector server
- Fully qualified hostname or IP address of the computer that the primary server is installed on.
- Full FTP path for pdpr.cfg file
- If you want to store the
pdpr.cfgfile in a central location, the full path to the
pdpr.cfgfile. The value must end with the file name
If you plan to store the
pdpr.cfgfile on the same system as the pdpr script, do not type anything; press Enter and continue with the installer.
- Finalize the installation process:
- If you are installing on an AIX or Sun Solaris client, log out and log back in so the changes can take effect.
- If you are installing on a Windows client, restart the computer so the changes can take effect.
- To define rules for parsing the pdpr command and submitting jobs to RICOH ProcessDirector, edit the
pdpr.cfgfile.The file must contain one line for each rule that you define. Jobs are sent to an input device based on the last rule that they match. If the job does not meet the conditions of any of the rules, it is sent to InfoPrint Manager.
Each line of the file follows this syntax:
- FileName | LDName,regular_expression, input_device_name, [BOTH]
Use FileName if you want to parse the file name of the input file to determine where to send the job. Use LDName to parse the value of the -d (InfoPrint Manager logical destination) option on the pdpr command to determine where to send the job.
For example, the file might contain these lines:
LDName, .*\.[Pp][Ss], InputPS FileName, .*\.[Aa][Ff][Pp], InputAFP
The first line instructs the script to look at the -d option on the pdpr command. If the value specified for that option ends with .ps or .PS, the job is sent to the input device named InputPS. The second line instructs the script to look at the file name of the input file. If the file name ends with .afp or .AFP, the job is sent to the input device named InputAFP.
If neither condition is met, the job is sent to InfoPrint Manager using the value stored in the PDHOST environment variable on the system.
Add the BOTH parameter to the end of an entry to indicate that if the condition is satisfied, the job should be sent to both InfoPrint Manager and RICOH ProcessDirector. This is useful when you are initially configuring RICOH ProcessDirector to receive jobs from pdpr because you can test the RICOH ProcessDirector configuration while continuing to use InfoPrint Manager in your production environment.