xref: /freebsd/usr.sbin/lpr/lpd/printcap (revision cbb3ec25236ba72f91cbdf23f8b78b9d1af0cedf)
1#	@(#)printcap	5.3 (Berkeley) 6/30/90
2
3#
4# This enables a simple local "raw" printer, hooked up to the first
5# parallel port.  No kind of filtering is done, so everything you pass
6# to the "lpr" command will be printed unmodified.
7#
8# Remember, for further print queues you're going to add, you have
9# to choose different spool directories (the "sd" capability below),
10# otherwise you will greatly confuse lpd.
11#
12# For some advanced printing, have a look at the "apsfilter" package.
13# It plugs into the lpd system, allowing you to print a variety of
14# different file types by converting everything to PostScript(tm)
15# format.  For more information about apsfilter visit
16#
17#	     http://www.apsfilter.org/
18#
19# If you don't have a PostScript(tm) printer, don't panic, but do
20# also install the latest "ghostscript" package for best printer support.
21#
22# Do also refer to the "printing" section of the handbook.
23#
24#	https://docs.freebsd.org/en/books/handbook/printing/
25#
26# A local copy can be found under
27#
28#	/usr/share/doc/handbook/handbook.{html,latin1}.
29#
30# Banner pages are now suppressed by default.  Remove the :sh: capability
31# to turn them back on.
32#
33#lp|local line printer:\
34#	:sh:\
35#	:lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
36#
37# Sample remote printer.  The physical printer is on machine "lphost".
38# You can perform any kind of local filtering directly.  If you need
39# local filters (e.g. LF -> CR-LF conversion for HP printers), create
40# a filter script that sends the proper escape sequence to the printer
41# and then concatenates stdin to stdout.
42#
43#remote|sample remote printer:\
44#	:sh:\
45#	:rm=lphost:sd=/var/spool/output/lphost:lf=/var/log/lpd-errs:\
46#	:if=/usr/local/libexec/if-script:
47#
48# Simple Russian printer with hardware CP866 character set, output filter
49# used for KOI8-R -> CP866 conversion
50#
51#lp|Russian local line printer:\
52#	:sh:of=/usr/libexec/lpr/ru/koi2alt:\
53#	:lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
54