User`s guide
2-51
Printers, Print Jobs, and Queues for Systems Administrators
Configuring a Remote Host as a Print Server
The host to be used as a print server must be configured to accept remote print requests. A
host must be listed in the /etc/hosts.lpd file on the print server to have permission to print.
To add a print queue host name to the /etc/hosts.lpd file using the Web-based System
Manager fast path:
1. At the system prompt, type:
wsm printers
2. In the Print Queues container, select a computer object.
3. Select Properties from the Selected menu.
4. To add the host name to the /etc/hosts.lpd file, open and edit the Host Access list.
You can also perform this task with the smit mkhostslpd fast path.
A print request sent from a host not defined in the print server’s /etc/hosts.lpd file will be
rejected. The system displays an error message indicating that the host does not have line
printer access.
A host acting as a print server must also have its lpd process running to service print
requests. The SRC command lssrc –s lpd shows the status of the lpd daemon. If it is not
active, use the wsm printers fast path or the startsrc command to start the lpd daemon.
Using Remote Printers and Queues
No special commands are required to print to a remote host. Use any print command that
allows you to specify a queue. The lpr, qprt, and enq commands are examples of print
commands. Use the appropriate flags and options to tailor the print request, including the
flag that specifies the queue. Use the name of the remote queue on your host.
You can also send a remote print request with the smit qprt fast path.
Queue status commands, such as qchk or lpstat, display information for both local and
remote print queues. The smit qchk command displays a menu that allows you to choose
the type of queue status information you want from both local and remote queues.
To cancel a print job in a remote queue, use the Web-based System Manager fast path
(wsm printers), the qcan command, or the lprm command. You can also use the smit
qcan fast path.