On BSD/OS, FreeBSD, or NetBSD systems, create the
directory as a subdirectory of
4. Change the owner and permissions of the directory so that it
is owned and writable by group
commands:
chown bin.daemon /var/spool/hp5l
chmod 775 /var/spool/hp5l
5. Add an entry for the printer 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
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
port_TEXT
printing text files.
Entries in
/etc/printcap
list of names, separated by | (a vertical bar). The entries used
above are:
Setting up Unix TCP/IP Printing
Print Server Administration User's Guide
/var/spool
daemon
/etc/printcap
spool directory entry should match the
sd
command) for a second printer, using the
port. This second printer name can be used for
begin with a name for the printer or a
.
, using the following
, similar to
53