2 setting up an aix 2.5 remote printer to use lpd, 2 setting up an aix 2.5 remote, Printer to use lpd -18 – Minolta PageWorks/Pro 18 User Manual

Page 105

Advertising
background image

6.2 UNIX Printing

6-18

TCP/IP Configuration

Chapt

er 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:

<printer_name>:\

(for example, printer1)

: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 sends jobs spooled at /usr/spool/lpd/<printer_name> to the
printer designated <printer_name> to be printed at port 1 (the inter-
nal connection to the printer) of the NIC 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 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

.

PageWorks.book Page 18 Tuesday, August 4, 1998 11:21 AM

Advertising
This manual is related to the following products: