Installation guide

mode must be set to 775. The directory’s group and ownership must be set
to the name daemon. For example:
# cd /var/spool/lpd
# mkdir lp1
# chmod 775 lp1
# chgrp daemon lp1
# chown daemon lp1
# ls -l lp1
drwxr-xr-x 2 daemon daemon 24 Jan 12 1994 lp1
10.7.3 The /etc/printcap File
The lpd daemon uses the /etc/printcap printer database file to print
requests. Each entry in the file describes a printer. Printer characteristics
are specified by two-letter abbreviations called symbols. The symbols are
described in this section and in the printcap
(4) reference page. The
lprsetup program modifies the /etc/printcap file.
The following example shows an /etc/printcap entry for both a local
printer and a remote printer:
#
#
lp|lp0|0|dotmatrix|mary:\
:af=/usr/adm/printer/lp.acct:\
:br#9600:\
:ct=dev:\
:fc#0177777:\
:fs#023:\
:if=/usr/lbin/la75of:\
:lf=/usr/adm/lperr:\
1
:lp=/dev/tty01:\
:mx#0:\
:of=/usr/lbin/la75of:\
:pl#66:\
:pw#80:\
:sb:\
2
:sd=/usr/spool/lpd:\
:xc#0177777:\
3
:xf=/usr/lbin/xf:\
:xs#044000:\
#
#
sqirrl|3r3|ln03r3|postscript3|In office 2T20:\
:lp=:rm=uptown:rp=lp:sd=/var/spool/printer/ln03r3:mx#0:\
4
#
10–22 Administering the Print Services