Index: head/etc/Makefile =================================================================== --- head/etc/Makefile +++ head/etc/Makefile @@ -22,10 +22,6 @@ # NB: keep these sorted by MK_* knobs -.if ${MK_LPR} != "no" -BIN1+= hosts.lpd printcap -.endif - .if ${MK_OPENSSL} != "no" SSL= ${SRCTOP}/crypto/openssl/apps/openssl.cnf .endif Index: head/etc/hosts.lpd =================================================================== --- head/etc/hosts.lpd +++ head/etc/hosts.lpd @@ -1,4 +0,0 @@ -# $FreeBSD$ -# -# See lpd(8) -#machine.domain Index: head/etc/printcap =================================================================== --- head/etc/printcap +++ head/etc/printcap @@ -1,54 +0,0 @@ -# @(#)printcap 5.3 (Berkeley) 6/30/90 -# $FreeBSD$ - -# -# This enables a simple local "raw" printer, hooked up to the first -# parallel port. No kind of filtering is done, so everything you pass -# to the "lpr" command will be printed unmodified. -# -# Remember, for further print queues you're going to add, you have -# to choose different spool directories (the "sd" capability below), -# otherwise you will greatly confuse lpd. -# -# For some advanced printing, have a look at the "apsfilter" package. -# It plugs into the lpd system, allowing you to print a variety of -# different file types by converting everything to PostScript(tm) -# format. For more information about apsfilter visit -# -# http://www.apsfilter.org/ -# -# If you don't have a PostScript(tm) printer, don't panic, but do -# also install the latest "ghostscript" package for best printer support. -# -# Do also refer to the "printing" section of the handbook. -# -# https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing.html -# -# A local copy can be found under -# -# /usr/share/doc/handbook/handbook.{html,latin1}. -# -# Banner pages are now suppressed by default. Remove the :sh: capability -# to turn them back on. -# -#lp|local line printer:\ -# :sh:\ -# :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: -# -# Sample remote printer. The physical printer is on machine "lphost". -# You can perform any kind of local filtering directly. If you need -# local filters (e.g. LF -> CR-LF conversion for HP printers), create -# a filter script that sends the proper escape sequence to the printer -# and then concatenates stdin to stdout. -# -#remote|sample remote printer:\ -# :sh:\ -# :rm=lphost:sd=/var/spool/output/lphost:lf=/var/log/lpd-errs:\ -# :if=/usr/local/libexec/if-script: -# -# Simple Russian printer with hardware CP866 character set, output filter -# used for KOI8-R -> CP866 conversion -# -#lp|Russian local line printer:\ -# :sh:of=/usr/libexec/lpr/ru/koi2alt:\ -# :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: Index: head/usr.sbin/lpr/lpd/Makefile =================================================================== --- head/usr.sbin/lpr/lpd/Makefile +++ head/usr.sbin/lpr/lpd/Makefile @@ -1,6 +1,7 @@ # From: @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ +CONFS= hosts.lpd printcap PROG= lpd MAN= lpd.8 SRCS= lpd.c printjob.c recvjob.c lpdchar.c modes.c Index: head/usr.sbin/lpr/lpd/hosts.lpd =================================================================== --- head/usr.sbin/lpr/lpd/hosts.lpd +++ head/usr.sbin/lpr/lpd/hosts.lpd @@ -0,0 +1,4 @@ +# $FreeBSD$ +# +# See lpd(8) +#machine.domain Index: head/usr.sbin/lpr/lpd/printcap =================================================================== --- head/usr.sbin/lpr/lpd/printcap +++ head/usr.sbin/lpr/lpd/printcap @@ -0,0 +1,54 @@ +# @(#)printcap 5.3 (Berkeley) 6/30/90 +# $FreeBSD$ + +# +# This enables a simple local "raw" printer, hooked up to the first +# parallel port. No kind of filtering is done, so everything you pass +# to the "lpr" command will be printed unmodified. +# +# Remember, for further print queues you're going to add, you have +# to choose different spool directories (the "sd" capability below), +# otherwise you will greatly confuse lpd. +# +# For some advanced printing, have a look at the "apsfilter" package. +# It plugs into the lpd system, allowing you to print a variety of +# different file types by converting everything to PostScript(tm) +# format. For more information about apsfilter visit +# +# http://www.apsfilter.org/ +# +# If you don't have a PostScript(tm) printer, don't panic, but do +# also install the latest "ghostscript" package for best printer support. +# +# Do also refer to the "printing" section of the handbook. +# +# https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing.html +# +# A local copy can be found under +# +# /usr/share/doc/handbook/handbook.{html,latin1}. +# +# Banner pages are now suppressed by default. Remove the :sh: capability +# to turn them back on. +# +#lp|local line printer:\ +# :sh:\ +# :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: +# +# Sample remote printer. The physical printer is on machine "lphost". +# You can perform any kind of local filtering directly. If you need +# local filters (e.g. LF -> CR-LF conversion for HP printers), create +# a filter script that sends the proper escape sequence to the printer +# and then concatenates stdin to stdout. +# +#remote|sample remote printer:\ +# :sh:\ +# :rm=lphost:sd=/var/spool/output/lphost:lf=/var/log/lpd-errs:\ +# :if=/usr/local/libexec/if-script: +# +# Simple Russian printer with hardware CP866 character set, output filter +# used for KOI8-R -> CP866 conversion +# +#lp|Russian local line printer:\ +# :sh:of=/usr/libexec/lpr/ru/koi2alt:\ +# :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: