diff options
author | joerg <joerg@FreeBSD.org> | 1996-10-13 16:52:40 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1996-10-13 16:52:40 +0000 |
commit | 9f6e7c4a28c02fa4a85c20946e3b5049dcdb5939 (patch) | |
tree | 3a03264c91e13f687e8beb203cb52b680a5870ee | |
parent | 75d85a7c3c9ced9d967500b45e1542591ec86ae8 (diff) | |
download | FreeBSD-src-9f6e7c4a28c02fa4a85c20946e3b5049dcdb5939.zip FreeBSD-src-9f6e7c4a28c02fa4a85c20946e3b5049dcdb5939.tar.gz |
Uncomment the "raw" lp entry in /etc/printcap. We start lpd by
default, so there's no use in running it without any printer
definition in printcap. Also added a bunch of hints about the printer
setup, to guide the admin about the printer setup (handbook,
"apsfilter"), and a commented-out sample setup for a remote printer.
In the same line, add /var/spool/lpd/output to BSD.var.dist since it
is referred to by the "lp" entry in printcap.
-rw-r--r-- | etc/mtree/BSD.var.dist | 4 | ||||
-rw-r--r-- | etc/printcap | 32 |
2 files changed, 33 insertions, 3 deletions
diff --git a/etc/mtree/BSD.var.dist b/etc/mtree/BSD.var.dist index 445fe97..fa19bbe 100644 --- a/etc/mtree/BSD.var.dist +++ b/etc/mtree/BSD.var.dist @@ -1,4 +1,4 @@ -# $Id: BSD.var.dist,v 1.24 1995/11/19 16:50:34 ache Exp $ +# $Id: BSD.var.dist,v 1.25 1996/08/25 21:37:08 pst Exp $ # /set type=dir uname=bin gname=bin mode=0755 @@ -51,6 +51,8 @@ mqueue uname=root .. output uname=bin + lpd uname=root gname=daemon + .. .. /set type=dir uname=uucp gname=uucp mode=0775 uucp diff --git a/etc/printcap b/etc/printcap index 5cb26bf..77698d5 100644 --- a/etc/printcap +++ b/etc/printcap @@ -1,4 +1,32 @@ # @(#)printcap 5.3 (Berkeley) 6/30/90 +# $Id$ -#lp|local line printer:\ -# :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: +# +# 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 +# chose 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. If you don't have a PostScript(tm) printer, don't panic, +# but do also install the "ghostscript" package. +# +# Do also refer to section 7 (Printing) of the handbook. A local copy +# can be found under /usr/share/doc/handbook/handbook.{html,latin1}. +# +lp|local line printer:\ + :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: +# +# Sample remote printer. The physical printer is on machine "lphost". +# NB: you cannot 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 recursively calls lpd with another -P +# argument after filtering. +# +#remote|sample remote printer:\ +# :rm=lphost:sd=/var/spool/output/lphost:lf=/var/log/lpd-errs: |