Using the Installation Shell Script
11
1
❒
Each entry is separated with colons into several fields. The syntax is to be-
gin each entry with a colon, followed by the entry, and then end with a co-
lon, 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
of the printer are represented by two character names referred to as capa-
bilities. For more information about capabilities, see the following table.
❖
❖
❖
❖
Making the spool directory
Create a spool directory under /var/spool/lpd. The name of the spool direc-
tory should be the name of the printer followed by a “d”.
Note
❒
The spool directory is used to control the data used for a print job. For ex-
ample, when a print job is created, a temporary copy of the file data used
for printing is created in the spool directory. All workstations accessing the
network printer need to have a spool directory for the network printer.
❒
A spool directory should be made for every network printer entry listed in
the /etc/printcap file.
❒
The spool directory should normally be made under /var/spool/lpd and
the name should match that listed under the sd capability in /etc/printcap.
Change the owner and group of the directory to root and lp. The following
examples show how to make a /var/spool/lpd/npd spool directory.
# cd /var/spool/lpd
# mkdir npd
# chown root npd
# chgrp lp npd
Capability
Explanation
Value Required for the Network
Printer.
rm
Host name of the printer
The host name that was 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.20 “Specifying the
Device Option”.
sd
Path name of the spool directory.
Path name of the spool directory
that is to be created.
lf
Path name of the log file.
Path name of the log file.
For example /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.
Содержание Aficio AP400N
Страница 1: ...UNIX Supplement...
Страница 4: ...ii...
Страница 6: ...2...
Страница 37: ...Copyright 2003...
Страница 38: ...UNIX Supplement GB GB EN USA G095 8610...