116
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
/ect/printcap
begin with a name for the printer or a list of name,
separated by | (a vertical bar). The entries used above are:
◆
lp=
The lp entry is used to specify a local printer device.
Since the printer is a remote printer, this entry should be blank.