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.
This commit is contained in:
parent
75d85a7c3c
commit
9f6e7c4a28
@ -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
|
||||
|
32
etc/printcap
32
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user