EasyManua.ls Logo

Ricoh Aficio 2022 - Page 1092

Ricoh Aficio 2022
1118 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
UNIX Configuration
10
1
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 com-
mand to print, you need to edit the /etc/hosts file, add an entry for the
network printer 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:
: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 print-
er. 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 into several fields by colons. Each entry begins
with a colon, followed by the entry, and then ends with a colon, a back
slash, and finally a return.
The first line of the field is the name of the printer. Use this name when log-
ging 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
more information about capabilities, see the following table:
Capability Explanation Value required for the network
printer.
rm Host name of the printer. The host name registered with the
/etc/hosts file.
rp Optional specification. lp will be
assigned, if the option is not used.
Select options for printing. For
more information about available
options, see p.19 Specifying the
Device Option.
sd Path name of the spool directory. Path name of the spool directory to
be created.
lf Path name of the log file. Path name of the log file. For ex-
ample /var/log/lpd-errs.
mx Maximum file size which the di-
rectory can copy. When set to 0, the
size is unlimited. If nothing is en-
tered, the size is set to 1024 k.
None, or something suitable.

Table of Contents

Related product manuals