beautypg.com

Printcap file – Epson C82346 User Manual

Page 56

background image

After entering the card as a valid network device, it is

necessary to set up the remote printer details. Here, the lpr

protocol program is given the name of a remote printer, and a

host name on which it resides. It is looking for three names to

link together:

The name of the local printer which will now be

redirected to the Ethernet Card. The default printer

name is often used here (for example, 'l

P

').

The name of the remote printer. This may be any name,

as the Ethernet Card will always honor a print request.

The name given here will appear in print enquiry

status returns.

The host name to which the printing is to be sent. This

must be the name assigned to the Ethernet Card IP

address (above).

Printcap file

Typically, the above information is stored in the /etc/Printcap

file, examples of which are shown below:

Printer1:\

: Ip= : rm = Allison : rp = Ipb : sd = /vor/spool/printer1 :

For UNIX systems without Printcap files, see the section on

scripts at the end of the chapter.

5-4 Using UNIX