[comp.sys.hp] Can't remote print from Ultrix to HP-ux

loganj@yvax.byu.edu (06/01/91)

We print from an Ultrix system to an HP-ux system and get the following
status from "lpc" on the Ultrix system:

waiting for rm2221s1 to come up

Where "rm2221s1" is the name of the HP-ux host.  The name of the Ultrix
host (bunsen) is in the hosts.equiv file on the HP host, the "lpsched"
and "inetd" daemons are running on the HP host, and other HP hosts are
able to remote print to the HP host connected to the printer.  And,
we can "rlogin", "telnet", "ping" to the HP host from the Ultrix host.
Also, there are no entries in the security file (/usr/adm/inetd.sec)
and the proper "printer" entry is in "/etc/services" on the HP host.

So, any ideas why we can't remote print from Ultrix to HP-ux?

Thanks and Regards,
Jim Logan
loganj@yvax.byu.edu
loganj@byuvax.bitnet

lienhart@hpfcdc.HP.COM (Bob Lienhart) (06/04/91)

There needs to be a line in your /etc/inetd.conf file on your HP-UX
system that reads:

printer stream tcp nowait root /usr/lib/rlpdaemon       rlpdaemon -i -l

This line is usually commented out in the shipped version of inetd.conf.
In essence this line tells the inetd daemon to execute rlpdaemon -i -l
when a request for the printer service (515) is received.

An alternative solution is to execute /usr/lib/rlpdaemon -l from
within /etc/rc.  When kicked off in this fashion the -i option MUST
not be used.

Note:  The -l option tells rlpdaemon to log to /usr/spool/lp/lpd.log.

Bob Lienhart

p.s. I prefer the inetd.conf solution, though the /etc/rc solution
may execute faster.