Installing the InfoPrint Manager Sun Solaris client
Before installing the InfoPrint Manager Sun Solaris client, make sure you have libstdc++.so.6 installed on your system.
To install the InfoPrint Manager Sun Solaris client, follow these steps:
- Log on to the Sun Solaris client system as root.
- Create a directory called /usr/lpp/pd/bin on the Sun Solaris client system. This directory must have approximately one megabyte of available storage.
- Copy the pdcommand.solaris.7 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 this command:
mv pdcommand.solaris.7 pdcommand
- Create links to the pdcommand for each supported command that you want to make available. See Commands you can use from the InfoPrint Sun Solaris 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.
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 Sun Solaris 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.