Installing and configuring the pdpr script
- Red Hat 8.1 through latest 8.X
- Red Hat 9.2 through latest 9.X
- Rocky Linux 8.4 through latest 8.X
- Rocky Linux 9.0 through latest 9.X
- SUSE Linux Enterprise Server (SLES) 12.0 with Service Pack 4 or above for x86_64
- SUSE Linux Enterprise Server (SLES) 15.0 with Service Pack 1 or above for x86_64
- Windows 7
- Note:
- 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 a user with administrator privileges.
- Find the pdpr installer file:
C:\aiw\aiw1\samples\pdpr\pdpr_installer
. - Copy the file to a temporary directory on the computer that runs the pdpr command.
- Log in to a client computer:
- On a Linux-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
pdpr_installer
. - 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_installer
was copied in to.- Important:
- 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:
- Host name or IP address of RICOH ProcessDirector server
- Fully qualified host name 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.cfg
file in a central location, the full path to thepdpr.cfg
file. The value must end with the file namepdpr.cfg
.If you plan to store the
pdpr.cfg
file 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 a Linux 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.cfg
file.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.