mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
f738f84d69
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.
33 lines
1.3 KiB
Plaintext
33 lines
1.3 KiB
Plaintext
# @(#)printcap 5.3 (Berkeley) 6/30/90
|
|
# $Id$
|
|
|
|
#
|
|
# 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:
|