GCC Printers 21 Series manual Setting Up a BSD Remote Printer to Use lpd/lpr

Models: 21 Series

1 275
Download 275 pages 62.42 Kb
Page 184
Image 184

The following sections give specific lpd/lpr setup instructions for various systems.

Setting Up a BSD Remote Printer to Use lpd/lpr

To set up a remote printer on the host that sends jobs to the Elite 21 using printer resident lpd, add an entry to the /etc/printcap file on your host for each printer you use. The steps are described as follows:

Open the /etc/printcap file. Make an entry naming the Print Server Card as the remote host and PORT1 as the remote printer name. A typical printcap entry is shown below:

<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 printer designated as <remote_host>.

• Create the spooling directory. For example, type:

mkdir /usr/spool/lpd/<printer_name>

To print via the spooler, use the lpr command. Type: lpr-P <printer_name>< file_name>

Installation and testing is done. You are now ready to print.

Setting Up an AIX Version 2.5 Remote Printer to Use lpd/lpr

Set up a remote printer on the host that sends jobs to the Elite 21 using the

7-29

Page 184
Image 184
GCC Printers 21 Series manual Setting Up a BSD Remote Printer to Use lpd/lpr