Bsd system – Minolta PI4700E User Manual

Page 383

Advertising
background image

12

UNIX Configuration

12-32

Pi4700e

A

ppe

ndi

x

Chap

ter

12

BSD System

This section describes how to set up a remote printer on the host that
sends jobs to the Network Card using printer resident lpd. This is accom-
plished by adding an entry to the host’s

/etc/printcap

file for each printer

you use.

1

Use an editor to open

/etc/printcap

.

2

Make entries that name the Network Card name as the remote host,
and assign any name to the remote printer.
The following is an example of typical printcap entries.

<printer name>:\
(Example: “lprprinter”)
:lp=:\

rm=<remote host>:\
(Host name from

/etc/hosts

)

:rp=<remote printer name>:\
(Any name)
:sd=/usr/spool/lpd/<printer name>:
(Specifies spool directory for where the system can spool data and
perform other spool control.)

This entry sends jobs spooled in /usr/spool/lpd/<printer name> to the
printer specified by <printer name> for printing by the Network Card
specified by <remote host>.

3

Create the spooling directory.

mkdir /usr/spool/lpd/<printer name>

4

Use the lpr command to print something.

lpr -P<printer name> <file name>

Installation is complete if the file you specify prints correctly.

Advertising