beautypg.com

Bsd system – Minolta PI4700E User Manual

Page 383

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.

:\
(Example: “lprprinter”)
:lp=:\

rm=:\
(Host name from

/etc/hosts

)

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

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

3

Create the spooling directory.

mkdir /usr/spool/lpd/

4

Use the lpr command to print something.

lpr -P

Installation is complete if the file you specify prints correctly.