]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - etc/printcap
Don't take a failure to stat a file to mean that it doesn't exist, as it may
[FreeBSD/FreeBSD.git] / etc / printcap
1 #       @(#)printcap    5.3 (Berkeley) 6/30/90
2 # $FreeBSD$
3
4 #
5 # This enables a simple local "raw" printer, hooked up to the first
6 # parallel port.  No kind of filtering is done, so everything you
7 # pass to the "lpr" command will be printed unmodified.
8 #
9 # Remember, for further print queues you're going to add, you have to
10 # chose different spool directories (the "sd" capability below),
11 # otherwise you will greatly confuse lpd.
12 #
13 # For some advanced printing, have a look at the "apsfilter" package.
14 # It plugs into the lpd system, allowing you to print a variety of
15 # different file types by converting everything to PostScript(tm)
16 # format.  If you don't have a PostScript(tm) printer, don't panic,
17 # but do also install the "ghostscript" package.
18 #
19 # Do also refer to section 7 (Printing) of the handbook.  A local copy
20 # can be found under /usr/share/doc/handbook/handbook.{html,latin1}.
21 #
22 # Banner pages are now suppressed by default.  Remove the :sh:
23 # capability to turn them back on.
24 #
25 lp|local line printer:\
26         :sh:\
27         :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
28 #
29 # Sample remote printer.  The physical printer is on machine "lphost".
30 # NB: you cannot perform any kind of local filtering directly.  If
31 # you need local filters (e.g. LF -> CR-LF conversion for HP printers),
32 # create a filter script that recursively calls lpd with another -P
33 # argument after filtering.
34 #
35 #remote|sample remote printer:\
36 #       :sh:\
37 #       :rm=lphost:sd=/var/spool/output/lphost:lf=/var/log/lpd-errs:
38 #
39 # Simple Russian printer with hardware CP866 character set, output filter
40 # used for KOI8-R -> CP866 conversion
41 #
42 #lp|Russian local line printer:\
43 #       :sh:of=/usr/libexec/lpr/ru/koi2alt:\
44 #       :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: