Installation guide
• Use the lpc command to check on the status of the printer. If queues
are stalled, try resetting the queues (refer to Section 10.6.5).
• Ensure that the appropriate spooling or device files have been created
and that ownership and access are correct (refer to Section 10.7.2).
10.8.2 Printer Error Logging
The lpd daemon logs printer errors to the error log file. Specifying an error
log file is optional. If you used lprsetup to install the printer, the program
provides the default value /usr/adm/lperr. If you do not specify an error
log file, errors are logged to /dev/console.
The error log file is specified with the lf symbol in the /etc/printcap
file. For example:
lf=/var/adm/lpderrs
Error log files are usually located in the /var/adm directory. An error log
file can be shared by all local printers, but you should specify the file in
each /etc/printcap file printer entry.
10.9 TCP/IP (telnet) Printing
TCP/IP printing, also called telnet printing, allows you to submit print
jobs to a remote printer that is directly connected to the network. Note that
to use this feature, your printer must contain a TCP/IP interface card and
must be registered with a TCP/IP node name and node address.
With TCP/IP printing, the local host manages print jobs in the same
manner as it would manage print jobs for a local printer. The only difference
is that with TCP/IP printing, the local print daemon (lpd) communicates
with the remote printer over TCP/IP (similar to LAT printing). Each
printer listens for connection requests on a socket number that is specified
in the printer hardware or that is user-defined through the printer console.
Although multiple hosts can talk to a single printer connected to the
network in this way, the hosts are handled on a first-come, first-served
basis. Therefore, TCP/IP printing is not the same as remote printing, in
which the remote printer manages a print queue on the remote site and
listens for network connections on socket 515 (as specified in the entry for
printer in /etc/services).
10–32 Administering the Print Services