Print Server Administration User’s Guide
Setting up Unix TCP/IP Printing
81
◊
On BSD/OS, FreeBSD, or NetBSD systems, create the
directory as a sub-directory of
/var/spool
.
4.
Change the owner and permissions of the directory so that it
is owned and writable by group
daemon
, using the following
commands:
chown bin.daemon /var/spool/hp5l
chmod 775 /var/spool/hp5l
5.
Add an entry for the printer to
/etc/printcap
, similar to
the following:
hp5l:\
:lp=:sd=/var/spool/hp5l:mx#0:\
:rm=ps-142634:rp=PS-142634-P1:
The meaning of each of the entries is described below. The
directory path in the
sd
spool directory entry should match the
directory name you created above. If your entry requires more
than one line you can escape the newline with a backslash.
6.
Issue the command
lpc start hp5l
to start a spool daemon for the printer. The printer will now be
available for use.
7.
Optionally, add another printcap entry (and issue another
lpc start
command) for a second printer, using the
port
_TEXT
port. This second printer name can be used for
printing text files.
Entries in
/etc/printcap
begin with a name for the printer or a
list of names, separated by | (a vertical bar). The entries used
above are:
Содержание TE100-PS3
Страница 6: ......