This section describes the installation, configuration, and use of the IBM Infoprint Manager Linux client.
The IBM Infoprint Manager Linux client enables users of Linux on Intel-based machines to issue Infoprint commands over a TCP/IP-connected network to an Infoprint Manager for AIX or an Infoprint Manager for Windows server. Using a UNIX 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 server. Commands you can use from the Infoprint Linux client provides a complete list of Infoprint commands available on the command line.
This client supports the following Infoprint Manager commands:
Access to the Infoprint Manager server and to the Infoprint Manager commands is controlled on the system where the server is installed. If you are using Infoprint Manager for AIX and your Infoprint Manager server uses DCE security, you can only use the pdpr, pdls, and pdq commands. Otherwise, for information about providing access, refer to the following books:
Infoprint Manager servers are available in the following languages:
You should associate (using PDHOST and PD_SOCKET) the Linux client with an Infoprint Server running in your language. If you are running in a language not listed in this section, associate the Linux client with an Infoprint Server running in English.
The Infoprint Manager: Reference contains several examples of each command that you can issue from the Infoprint Linux client. This section contains examples using the commands to perform some common tasks.
To find a destination near you that can print two-sided PostScript jobs, enter:
pdls -c destination -f "destination-realization==actual && document-format-supported==postscript && sides-supported==2" -r "destination-location" *:
The -f flag specifies that you want to either filter on or list only actual destinations that support PostScript format and two-sided printing.
The -r flag specifies that you want to request where the actual destinations reside.
The asterisk means that you want to check every server.
The blank after the colon means that you want to check every destination in every server.
Infoprint returns information similar to the following:
caxton: destination-location = 3rd floor E elzevir: destination-location = morris: destination-location = 1st floor W
You decide to print your job on morris. To determine a logical destination that routes jobs to morris, enter:
pdls -c destination -f "destination-associated-destinations==morris" && destination-realization==logical *:
To determine whether morris is ready to receive jobs, enter:
pdls -c destination morris
The enabled and destination-state values indicate whether morris is ready to receive jobs.
To submit the file myjob to the logical destination london, requesting two-sided printing on the actual destination morris, enter:
pdpr -d london -x "destination-name-requested=morris sides=2" myjob
To submit the cover sheet faxcover and the file Memo1 to the logical destination faxout for transmission to fax number 1-709-123-4567, enter:
pdpr -d faxout -x "fax-number=17091234567 document-type=cover-sheet" -f faxcover -x "document-type=printable" Memo1
To list all the jobs that you submitted to logical destination london, enter:
pdq -d london
Infoprint Manager returns information similar to the following:
Job ID | Name | Intervening State | Destination Jobs | Destination Requested | Destination Assigned |
13 | Serv1:1104221000 | printing | 0 | london | caxton |
14 | Serv1:1104221023 | pending | 8 | london | morris |
After submitting myjob, you decide that you want to print two copies and that you want to retain it for one hour after it prints. When you queried the jobs submitted to london, you saw that the local Job ID is 14 and that the job is still pending, so it can be modified. To change the number of copies to two and add a retention period of one hour, enter:
pdmod -n 2 -x "job-retention-period=1:00" 14
To restrict the Printer3 actual destination so that it does not accept very large jobs, complete the following:
pddisable Printer3
pdset -c destination -x "job-size-range-ready=0:500000" Printer3
pdenable Printer3
The printer device represented by the actual destination caxton is out of order. To shut down caxton until the printer device can be repaired and to associate a message with caxton, enter:
pdshutdown -c destination -m "Service called Tuesday at 3PM" caxton
The following terms, used in this publication are trademarks of the IBM Corporation in the United States or other countries or both:
AIX(R)
IBM(R)
Infoprint(R)
Microsoft(R) and Windows(R) are registered trademarks of Microsoft Corporation.
UNIX(R)is a registered trademark of The Open Group.
Other company, product, and service names may be trademarks or service marks of others.