Sun Solaris Client Readme
IBM(R) Infoprint(R) Manager Sun Solaris Client Readme
This file describes the installation, configuration, and use of the IBM
Infoprint Manager Sun Solaris client.
The IBM Infoprint Manager Sun Solaris client enables users of Sun
Solaris 2.5.1 and above to issue Infoprint commands over a
TCP/IP-connected network to an Infoprint Manager for AIX(R) or Infoprint
Manager for Windows(R) server. Using a UNIX(R) command line or shell script, you can query
server, printer and print job status; change the state of a server,
printer or print job; create, delete or reorder a print job on the the
server. This Readme file contains a complete list of Infoprint commands
available on the command line, under Supported Infoprint commands.
The Sun Solaris client package includes the following files:
- pdcommand.solaris.251
- sunread41.pdf (this file in PDF format)
- sunread41.htm (this file in HTML format)
- sunread41.txt (this file in ASCII text format)
- ipr.cat
- Log in as root.
- Create a directory called /usr/lpp/pd/bin on the Solaris client
system. This directory must have approximately one megabyte of
available storage.
- Copy the pdcommand.solaris.251 file from the Infoprint
Manager Common Client CD-ROM to the /usr/lpp/pd/bin directory.
- Run locale to determine the value of the
LC_MESSAGES environment variable. Make a note of the
value.
- Copy the ipr.cat file from the Infoprint Manager Common Client
CD-ROM to the /usr/lib/nls/msg/locale directory, where
locale is the value that you saved in Step 4.
- Change to the /usr/lpp/pd/bin directory.
- Type the following command:
mv pdcommand.solaris.251 pdcommand
- Create links to the pdcommand for each supported command that
you wish to make available. See Supported Infoprint commands for the names of the supported commands. For example,
to support the pdls command, which lists information about
Infoprint objects, type the following command:
ln -s pdcommand pdls
- Create a shell script in the language of your choice or manually
set the following environment variables:
- PDHOST
- The name of the host where the Infoprint Manager server resides.
- PD_SOCKET
- The TCP/IP socket number of the Infoprint Manager 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.
- PDPRINTER
- The default logical destination in the Infoprint Manager server.
The commands will use this value if you do not specify a logical destination
on the command line.
- PATH
- Add the /usr/lpp/pd/bin directory to the value of this variable.
- NLSPATH
- The path for the message catalog.
The following example shows a C shell script to set the environment
variables:
setenv PDHOST "hostname-of-infoprint-server"
setenv PD_SOCKET "6874"
setenv PDPRINTER "name-of-default-logical-destination"
setenv PATH $PATH:/usr/lpp/pd/bin
setenv NLSPATH=/usr/lib/nls/msg/%L/%N:
- Test the system:
- Open a command line window.
- Set the environment variables as directed in Step 9 , either manually or using a shell script.
- Issue one of the chosen commands, followed by -h, to display
the syntax of that command and verify the installation. For
example:
pdls -h
- Arrange for all users of the Sun Solaris client to set the
environment variables as directed in Step 9 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.
The Sun Solaris client supports the following Infoprint Manager
commands:
- pdaccount
- pdclean
- pdcreate
- pddelete
- pddisable
- pdenable
- pdls
- pdmod
- pdpause
- pdpr
- pdpromote
- pdq
- pdreorder
- pdresubmit
- pdresume
- pdrm
- pdset
- pdspace
- pdshutdown
For complete documentation for these commands, refer to the Infoprint
Manager: Reference, S544-5475. This book can be found on the Infoprint Manager Publications CD-ROM
or at http://www.printers.ibm.com/.
Under Resources For, select Infoprint Manager -->
Products (in the right-hand navigation bar). Then select
Infoprint Manager for AIX or Infoprint Manager for Windows
--> Product Resources --> Product Library. View the Infoprint Manager: Reference using Adobe
Acrobat Reader or print it using an Infoprint Manager client interface.
Information about the Infoprint commands is also available as man
pages. You can access these man pages by typing the following
command:
man commandname
Access to the Infoprint Manager server and to the Infoprint Manager
commands is controlled on the system where the server is installed. For
information about providing access, refer to the following books:
- Infoprint Manager for AIX: Procedures, G544-5815
- Infoprint Manager for Windows: Procedures, G544-5814
These books can be found on the Infoprint Manager Publications
CD-ROM or in the Product Library at http://www.printers.ibm.com/.
- Note:
- You can always use the pdpr, pdls, and pdq
commands.
The examples in this section have been tested on a Sun Solaris
2.5.1 system with the Sun Workshop C++ 4.2
compiler.
- Query the status of the Infoprint server.
pdls -c server
- Note:
- If you have set the PDPRINTER environment variable, you do not
need to include the name of your server on the pdls command.
- Query the status of all printers on the Infoprint server whose hostname is
pauper.
pdls -c printer pauper:
- Submit a file called test.ps in the directory
/users/rothman/projects/ to the default logical destination (the
value of the PDPRINTER environment variable). Name the print
job MyPrintJob on the Infoprint server.
pdpr -t MyPrintJob /users/rothman/projects/test.ps
- List the jobs associated with logical destination
ld1. Show detailed information (-r verbose) and
do not filter for particular criteria, such as the submitter ID
(-F).
pdq -p ld1 -r verbose -F
- Change the job-name attribute of a print job on the server
named pauper. The job number was obtained by a previous
pdq command.
pdmod -x "job-name=NewJobName" pauper:job-id
- Remove a print job from its print queue on the Infoprint server named
pauper.
pdrm pauper:job-id
- Print out the usage help information for the pdpr
command.
pdpr -h
The following terms, used in this publication, are trademarks of the IBM
Corporation in the United States or other countries or both:
AIX(R)
| Infoprint(R)
|
IBM(R)
|
|
Microsoft(R) and Windows are registered trademarks of Microsoft
Corporation.
UNIX is a registered trademark of The Open Group.
Other company, product, and service names may be trademarks or service
marks of others.