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 /etc/printcap | |
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.
Diffstat (limited to 'etc/printcap')
-rw-r--r-- | etc/printcap | 32 |
1 files changed, 30 insertions, 2 deletions
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: |