Gestetner P7245 Hardware Manual page 520

Gestetner p7245: operating manual
Table of Contents

Advertisement

❖ Adding an entry to the /etc/printcap file
The following entry is added to the /etc/printcap file, which is the configu-
ration for printing with the lpr command. In order to use the lpr command to
print, you need to edit the /etc/hosts file, add an entry for the network print-
er to the /etc/printcap file and create a spool directory:
##PRINTTOOL3## REMOTE
np|Network Printer:|np|Network Printer:|np|Network Print-
er:|np|Network Printer:|np|Network Printer:|np|Network
Printer:|np|Network Printer:|np|Network Printer:|np|Net-
work Printer:|np|Network Printer:|np|Network Print-
er:|np|Network Printer:|np|Network Printer:|np|Network
Printer:|np|Network Printer:|np|Network Printer:\
:rm=nphost:\
:rp=option:\
:sd=/var/spool/lpd/npd:\
:lf=/var/log/npd-errs:\
:sh:\
:mx#0:
Note
❒ The /etc/printcap file is used to register the name and attributes of a printer.
You must make an entry for the network printer in the /etc/printcap file of
all workstations using the network printer.
❒ You must make an entry for each printer option when using the same
printer.
❒ Each entry is separated with colons into several fields. The syntax is to begin
each entry with a colon, followed by the entry, and then end with a colon, a
back slash, and then a return.
❒ The first line of the field is the name of the printer. You use this name when
logging on to a network printer from a workstation. You can define several
different names by separating each name with the "|" character.
❒ The second and following lines contain the printer's attributes. Attributes
are represented by two-character names referred to as capabilities. For de-
tails about capabilities, see the following table:
Capability
rm
rp
sd
lf
Explanation
Host name of the printer.
Optional specification.
"lp" will be assigned, if the option
is not used.
Path name of the spool directory.
Path name of the log file.
Using the Installation Shell Script
Value required for the network
printer.
The host name that was registered
with the /etc/hosts file.
Select options for printing. For de-
tails about available options, see
p.18 "Specifying the Device Op-
tion".
Path name of the spool directory
that is to be created.
Path name of the log file.
For example /var/log/lpd-errs.
1
9

Advertisement

Table of Contents
loading

Table of Contents