Settings and Printing
Network
Network
Maintenance and Spec.
Setup in UNIX
141
[For HP-UX 9.x and 10.x]
1
Set up remote spooler.
(1) Log in as root.
# login root
(2) Disable printer spooler.
# /usr/lib/lpshut
(3) Add the following line to the /etc/inetd.conf.
printer stream tcp nowait root /usr/lib/rlpdaemon -i
(4) Restart inetd.
/etc/inetd -c
2
Create print queue.
(1) Log in as root.
# login root
(2) Create print queue "dpcl21mlp".
Example: Create print queue "dpcl21mlp".
# /usr/lib/lpadmin -pdpcl21mlp -mrmodel -ormdpcl21m
-orplp -ocmrcmodel -osmrsmodel -ob3 -v/dev/null
The "lp" after "-orp" is the remote printer queue name.
(3) Enable print queue.
# /usr/lib/accept dpcl21mlp
# /usr/bin/enable dpcl21mlp
(4) Start print scheduler.
# /usr/lib/lpsched
3
• Print using "lp" command.
# lp -d dpcl21mlp <file name>