
Printing from UNIX: Configuring the Operating System • 189
If there is no reply, there is a problem with the configuration of
the IP address (the IP address has been already set manually
or by the DHCP/RARP server), or with the network. Reset the
network interface card settings to default and try to set a
temporary IP address. If you still have the problem after
resetting the network interface card, consult the network
manager.
4. If remote spooling is not already enabled on the HP-UX
machine, carry out the following configuration.
a. Stop the printer spooler.
# /usr/sbin/lpshut
b. Add the following line to the
/etc/inetd.conf
file and register
the remote spooler.
printer stream tcp nowait root /usr/sbin/
rlpdameon –I
c. Restart inetd.
# /etc/inetd –c
d. Register the remote printer.
# /usr/sbin/lpadmin -p
PRINTER_
lp -v /dev/null
-mrmodel \-ormPRINTER -orplp -ocmrcmodel
-osmrsmodel -ob3
e. Activate the print queue.
# /usr/sbin/accept
PRINTER_
lp
f. Enable the print queue.
# /bin/enable
PRINTER_
lp
g. Enable the printer spooler.
# /usr/sbin/lpsched