U N I X P r i n t i n g
C h a p t e r 5 : T C P / I P C o n f i g u r a t i o n
❖
5-27
10. Press
to generate.
Installation is complete. Test your printer by executing the
following command:
lp -d<queue_name> <file_name>
Setting Up an HP/UX Remote Printer to Use lpd
Set up a remote printer on the host that sends jobs to a NIC
using the NIC lpd. To do this:
1. At the prompt, type:
sam
2. When a window appears, select
Printer/Plotter Manager
.
3. When the menu appears, select
List printer and plotters
.
4. When a list appears, select
Actions in the title bar
.
5. From the pull-down menu, select
Add Remote Printer
.
6. When a window appears, add values to configure NIC.
See the following example.
1. At the bottom of the screen, select
Remote Printer
is on
BSD system
from the three choices available.
2. Click on the
OK
button.
3. Ping the unit to test communications. Type:
ping
<NIC IP address>
4. Ping should confirm your IP address with the message:
<NIC IP address> is alive
5. If the connection is confirmed, you can now print.
Printer Name
myprinter
name to be used in lp command
Remote System Name
fastprint
NIC hostname as in /etc/hosts
Remote printer Name
PORT1
lpd queue name
Book.frm : CHAP5.FRM Page 27 Saturday, October 12, 1996 7:43 AM