1834736 Members
2619 Online
110070 Solutions
New Discussion

lpr printing

 
John Gunther_1
New Member

lpr printing

suddenly we can't print to a printer on one of our hp-ux workstations from various PCs that have been setup with lpr ports. It has been quite some time since I setup up these machines and have no documentation on how they connected. I seem to remember that there might be a special daemon that needs to be running on the hp-ux machine but cannot put my finger on it. I know that samba is NOT setup on the hp-ux machine. Any ideas out there? The printer in question is directly connected to the hp-ux workstation and works fine between that workstation and all the other hp-ux workstations, so it's not simply a matter of being enabled, or lpsched running etc.
3 REPLIES 3
Rita C Workman
Honored Contributor

Re: lpr printing

I think your thinking about the rlpdaemon on HPUX.

man rlp

lpr is the other platform version of this.

HTH
Rita
Robert-Jan Goossens
Honored Contributor

Re: lpr printing

Hi John,

Found something in a old doc.

----

Everything was working fine. Files appear to be piling up within the
/usr/spool/lpd/ queue. To save the files in the queue,
rename queue to a then recreated a new one.

mkdir /usr/spool/lpd/
chown daemon /usr/spool/lpd/remote printer name>
chgrp daemon /usr/spool/lpd/
chmod 777 /usr/spool/lpd/
lpc enable all
lpc start all
lpc status ---->printing is enabled
queuing is enabled
no entires
no daemon present

lpr -P

Everything printed.

----

Hope this helps,
Robert-Jan
Bill Hassell
Honored Contributor

Re: lpr printing

The rlpdaemon is automatically run by inetd UNLESS someone has 'improved' security by shutting down this daemon. Look for rlpdaemon in /etc/inetd.conf. It won't seen in ps unless it is actually accepting a print job. inetd runs it when necessary.


Bill Hassell, sysadmin