2 setting up an aix 2.5 remote, Printer to use lpd -18 – Hitachi Koki USA DDC 35n User Manual
Page 108

6.2 UNIX Printing
6-18
T
C
P/IP
Co
nfig
ur
ati
o
n
Cha
p
ter 6
1.
Open the /etc/printcap file. Make an entry naming the NIC as
the remote host and PORT1 as the remote printer name. A typi-
cal printcap entry is shown below:
(for example, printer1)
:lp=:\
:rm=
(for example, name as entered in /etc/hosts)
:rp=PORT1:\
:sd=/usr/spool/lpd/
(for example, spool directory on system used to
spool data and control files)
This sends jobs spooled at /usr/spool/lpd/
printer designated
nal connection to the printer) of the NIC designated as
2.
Create the spooling directory. For example, type:
#mkdir /usr/spool/lpd/
3.
To print via the spooler, use the lpr command. Type:
#lpr -P
Installation and testing is done. You are now ready to print.
6.2.2.2 Setting Up an AIX 2.5 Remote Printer to Use
lpd
Set up a remote printer on the host that sends jobs to the NIC using
the NIC’s lpd. Use the following procedure to do this:
1.
At the prompt, type:
#smit spooler
2.
When a window appears, select
Manage Remote Printers
.
3.
When a menu appears, select
Client Services
.
4.
Another menu appears. Select
Remote Printer Queues
.
5.
Another menu appears. Select
Add a Remote Queue
.