5-26 UNIX Printing Through TCP/IP
UNIX Printing Through TCP/IP
lpd UNIX Printing
Setting Up a BSD Remote Printer to Use lpd
To set up a remote printer on the host that sends jobs to tha NC-2 Print
Server using printer resident lpd, add an entry to the /etc/printcap file on
your host for each printer you use. The procedure is described below.
1. Open the
/etc/printcap
file.
Make an entry naming the NC-2 Print Server as the remote host and PORT1
as the remote printer name. A typical printcap entry is as follows:
<printer_name>\ (for example, lprprinter)
:lp=:\
:rm=<remote_host>:\ (
for example, name as entered in /etc/hosts)
:rp=PORT1:\
:sd=/usr/spool/lpd/<printer_name>:
(for example, spool directory on system used to spool
data and control files)
This entry will send jobs spooled at /usr/spool/lpd/<printer_name> to the
printer designated <printer_name> to be printed at port 1 (the internal
connection to the printer) of the NC-2 Print Server designated as
<remote_host>.
2. Create the spooling directory. For example, type:
mkdir /usr/spool/lpd/<printer_name>
3. To print via the spooler, use the lpr command. Type:
lpr-P <printer_name>< file_name>
Installation and testing are done. You are now ready to print.
Setting Up an AIX Remote Printer to Use lpd
Use the following procedure to set up a remote printer on the host that sends
jobs to the NC-2 Print Server using the NC-2 Print Server's lpd.
1. At the prompt, type:
#smit spooler <cr>
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.
Summary of Contents for Ai5555
Page 2: ......
Page 6: ...1 ...
Page 10: ...Section 1 NC 2 Introduction ...
Page 16: ...Section 2 Installation ...
Page 22: ...Section 3 NetWare Configuration ...
Page 82: ...Section 4 AppleTalk Configuration and Administration Program ...
Page 91: ...Section 5 UNIX Printing Through TCP IP ...
Page 140: ...Section 6 Troubleshooting ...
Page 165: ......