xref: /dflybsd-src/etc/printcap (revision 86d7f5d305c6adaa56ff4582ece9859d73106103)
186d7f5d3SJohn Marino#	@(#)printcap	5.3 (Berkeley) 6/30/90
286d7f5d3SJohn Marino# $FreeBSD: src/etc/printcap,v 1.10.2.2 2002/08/07 10:33:39 blackend Exp $
386d7f5d3SJohn Marino# $DragonFly: src/etc/printcap,v 1.3 2008/02/11 15:59:37 matthias Exp $
486d7f5d3SJohn Marino
586d7f5d3SJohn Marino#
686d7f5d3SJohn Marino# This enables a simple local "raw" printer, hooked up to the first
786d7f5d3SJohn Marino# parallel port.  No kind of filtering is done, so everything you pass
886d7f5d3SJohn Marino# to the "lpr" command will be printed unmodified.
986d7f5d3SJohn Marino#
1086d7f5d3SJohn Marino# Remember, for further print queues you're going to add, you have
1186d7f5d3SJohn Marino# to choose different spool directories (the "sd" capability below),
1286d7f5d3SJohn Marino# otherwise you will greatly confuse lpd.
1386d7f5d3SJohn Marino#
1486d7f5d3SJohn Marino# For some advanced printing, have a look at the "apsfilter" package.
1586d7f5d3SJohn Marino# It plugs into the lpd system, allowing you to print a variety of
1686d7f5d3SJohn Marino# different file types by converting everything to PostScript(tm)
1786d7f5d3SJohn Marino# format.  For more information about apsfilter visit
1886d7f5d3SJohn Marino#
1986d7f5d3SJohn Marino#	     http://www.apsfilter.org/
2086d7f5d3SJohn Marino#
2186d7f5d3SJohn Marino# If you don't have a PostScript(tm) printer, don't panic, but do
2286d7f5d3SJohn Marino# also install the latest "ghostscript" package for best printer support.
2386d7f5d3SJohn Marino#
2486d7f5d3SJohn Marino# Do also refer to the "printing" section of the handbook.
2586d7f5d3SJohn Marino#
2686d7f5d3SJohn Marino#	http://www.dragonflybsd.org/docs/handbook/handbook-printing/
2786d7f5d3SJohn Marino#
2886d7f5d3SJohn Marino# Banner pages are now suppressed by default.  Remove the :sh: capability
2986d7f5d3SJohn Marino# to turn them back on.
3086d7f5d3SJohn Marino#
3186d7f5d3SJohn Marino#lp|local line printer:\
3286d7f5d3SJohn Marino#	:sh:\
3386d7f5d3SJohn Marino#	:lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
3486d7f5d3SJohn Marino#
3586d7f5d3SJohn Marino# Sample remote printer.  The physical printer is on machine "lphost".
3686d7f5d3SJohn Marino# You can perform any kind of local filtering directly.  If you need
3786d7f5d3SJohn Marino# local filters (e.g. LF -> CR-LF conversion for HP printers), create
3886d7f5d3SJohn Marino# a filter script that sends the proper escape sequence to the printer
3986d7f5d3SJohn Marino# and then concatenates stdin to stdout.
4086d7f5d3SJohn Marino#
4186d7f5d3SJohn Marino#remote|sample remote printer:\
4286d7f5d3SJohn Marino#	:sh:\
4386d7f5d3SJohn Marino#	:rm=lphost:sd=/var/spool/output/lphost:lf=/var/log/lpd-errs:\
4486d7f5d3SJohn Marino#	:if=/usr/local/libexec/if-script:
4586d7f5d3SJohn Marino#
4686d7f5d3SJohn Marino# Simple Russian printer with hardware CP866 character set, output filter
4786d7f5d3SJohn Marino# used for KOI8-R -> CP866 conversion
4886d7f5d3SJohn Marino#
4986d7f5d3SJohn Marino#lp|Russian local line printer:\
5086d7f5d3SJohn Marino#	:sh:of=/usr/libexec/lpr/ru/koi2alt:\
5186d7f5d3SJohn Marino#	:lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
52