Installing the InfoPrint Manager HP-UX client
Before installing the InfoPrint Manager HP-UX client, make sure you have libstdc++.sl.5 installed on your system.
To install the InfoPrint Manager HP-UX client:
- Log onto the HP-UX system as root.
- Create a directory called /usr/lpp/pd/bin on the HP-UX client system. This directory must have approximately two megabytes of available storage.
- Copy the pdcommand.HP-UX.11 file from the InfoPrint Manager Common Clients DVD-ROM, LCD4-5642, to the /usr/lpp/pd/bin directory.
- Change to the /usr/lpp/pd/bin directory.
- Type these commands:
chmod 755 pdcommand mv pdcommand.HP-UX.11 pdcommand
- Create links to the pdcommand for each supported command that you want to make available. See Commands you can use from the InfoPrint HP-UX client for the names of the supported commands.
For example, to support the pdls command, which lists information about InfoPrint objects, type this command:
ln -s pdcommand pdls
- Create a shell script in the language of your choice or manually set these environment
- The name of the host where the InfoPrint server is located.
- The TCP/IP socket number of the port for the InfoPrint server. The default socket is 6874. Use 6874 unless your system has been specifically set up differently, or you have more than one InfoPrint Manager server running on the host.
- The default logical destination in the InfoPrint Manager server. The commands will use this value if you do not specify a logical destination (the -P DestinationName flag) on the command line.
- Add the /usr/lpp/pd/bin directory to the value of this variable. It must be the first directory in the path; otherwise, a conflict with the HPDPS daemon exists.
This example shows a Korn shell script to set the environment variables:
export PDHOST="hostname-of-infoprint-server" export PD_SOCKET="6874" export PDPRINTER="name-of-default-logical-destination" export PATH=/usr/lpp/pd/bin:$PATH
- Test the system:
- Open a command line window.
- Set the environment variables as directed in step 7, either manually or using a shell script.
- Issue one of the chosen commands, followed by the -h flag to display the syntax of that command and verify the installation.
- Arrange for all users of the HP-UX client to set the environment variables as directed
in step 7, whenever they log in. You can use either of these methods:
- Set the environment variables in the default shell configuration file, either individually or by invoking the shell script.
- Tell each user to set the environment variables in his or her own shell configuration file, either individually or by invoking the shell script.