xref: /freebsd/usr.sbin/lpr/lpd/printcap (revision 62cfcf62f627e5093fb37026a6d8c98e4d2ef04c)
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 pass
7# to the "lpr" command will be printed unmodified.
8#
9# Remember, for further print queues you're going to add, you have
10# to choose 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.  For more information about apsfilter visit
17#
18#	     http://www.apsfilter.org/
19#
20# If you don't have a PostScript(tm) printer, don't panic, but do
21# also install the latest "ghostscript" package for best printer support.
22#
23# Do also refer to the "printing" section of the handbook.
24#
25#	https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing.html
26#
27# A local copy can be found under
28#
29#	/usr/share/doc/handbook/handbook.{html,latin1}.
30#
31# Banner pages are now suppressed by default.  Remove the :sh: capability
32# to turn them back on.
33#
34#lp|local line printer:\
35#	:sh:\
36#	:lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
37#
38# Sample remote printer.  The physical printer is on machine "lphost".
39# You can perform any kind of local filtering directly.  If you need
40# local filters (e.g. LF -> CR-LF conversion for HP printers), create
41# a filter script that sends the proper escape sequence to the printer
42# and then concatenates stdin to stdout.
43#
44#remote|sample remote printer:\
45#	:sh:\
46#	:rm=lphost:sd=/var/spool/output/lphost:lf=/var/log/lpd-errs:\
47#	:if=/usr/local/libexec/if-script:
48#
49# Simple Russian printer with hardware CP866 character set, output filter
50# used for KOI8-R -> CP866 conversion
51#
52#lp|Russian local line printer:\
53#	:sh:of=/usr/libexec/lpr/ru/koi2alt:\
54#	:lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
55