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