Appendix Chapter 12

 

12

UNIX Configuration

 

 

 

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.

1Use an editor to open /etc/printcap.

2Make 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>.

3Create the spooling directory.

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

4Use the lpr command to print something.

lpr -P<printer name> <file name>

Installation is complete if the file you specify prints correctly.

12-32

Pi4700e

Page 383
Image 383
Minolta PI4700E user manual BSD System, Example lprprinter, Host name from /etc/hosts, Any name