User`s guide

2-49
Printers, Print Jobs, and Queues for Systems Administrators
Note: The /etc/hosts.equiv file defines which computers on a network are allowed to
execute certain commands on a local host without supplying a password. The
/etc/hosts.lpd file defines which computers on a network are allowed to execute
print commands on a local host without supplying a password.
The lpd daemon on the remote print server monitors port 515 for print requests. When the
lpd daemon receives a print request from a valid host, it places the request in the specified
queue. The lpd daemon places files specified in print requests in the directory
/var/spool/lpd. The print request is then managed by the qdaemon and the appropriate
backend (usually piobe) on the remote server.
The /etc/locks/lpd file contains the process ID of the currently running instance of the lpd
daemon. If a machine running the lpd daemon becomes inoperable, the ID for the lpd
daemon may have to be removed before the system is restarted. The error messages
lpd: lock file or duplicate daemon indicate that the ID must be removed.
Controlling the lpd Daemon
Controlling the lpd daemon includes starting and stopping the lpd subsystem and changing
the characteristics of the lpd subsystem. Use the Web-based System Manager wsm
printers fast path or the SMIT or System Resource Controller (SRC) commands to control
the lpd daemon.
There are three ways to start the lpd daemon. If it is not currently running, you can start the
daemon at any time. You also have the option of having the lpd daemon start at system
restart or to have it start both at the current time and at system restart. The same options
are available to stop the lpd daemon: stop now, stop at system restart, or stop both now
and at system restart. You can run the lpd daemon with DEBUG, with SYSLOG, with both
DEBUG and SYSLOG, or with neither.
To control the lpd daemon with Web-based System Manager, type wsm printers , then
select the desired options from the Print Queues container menus. To control the lpd
daemon with SMIT,type smit lpd, then select the desired options from the SMIT menus.
To control the lpd daemon with the SRC, use the following SRC commands:
startsrc Starts a subsystem, group of subsystems, or a subserver.
stopsrc Stops a subsystem, group of subsystems, or a subserver.
lssrc Gets the status of a subsystem, group of subsystems, or a subserver.
refresh Causes the subsystem or group of subsystems to reread the
appropriate configuration file.
traceson Enables tracing of a subsystem, group of subsystems, or a subserver.
tracesoff Disables tracing of a subsystem, group of subsystems, or a
subserver.