Friday, March 16, 2007

Client Workstations Can't Print to the Print Server

Several years ago, I was having problems printing jobs from a workstation that was not configured as a print server. As it turned out, the port listening device, in.lpd, was commented out in the /etc/inet/inetd.conf file. I uncommented the entry and then rebooted. Instead of rebooting, I could have done a hangup of inetd's PID.

On the print server workstation, uncomment the port listening device (in.lpd)
# vi /etc/inet/inetd.conf
#
# Print Protocol Adaptor - BSD listener
#
#printer stream tcp nowait root /usr/lib/print/in.lpd in.lpd
printer stream tcp nowait root /usr/lib/print/in.lpd in.lpd
:wq! (saves and quits vi)

Instead of rebooting
# ps -ef | grep inetd
# kill -HUP inetd_PID
or
# pkill -HUP inetd

No comments: