printcapの設定(FreeBSD3.1)


#       @(#)printcap    5.3 (Berkeley) 6/30/90
# $Id: printcap,v 1.9 1998/02/04 12:09:06 ache Exp $

#
# This enables a simple local "raw" printer, hooked up to the first
# parallel port.  No kind of filtering is done, so everything you
# pass to the "lpr" command will be printed unmodified.
#
# Remember, for further print queues you're going to add, you have to
# chose different spool directories (the "sd" capability below),
# otherwise you will greatly confuse lpd.
#
# For some advanced printing, have a look at the "apsfilter" package.
# It plugs into the lpd system, allowing you to print a variety of
# different file types by converting everything to PostScript(tm)
# format.  If you don't have a PostScript(tm) printer, don't panic,
# but do also install the "ghostscript" package.
#
# Do also refer to section 7 (Printing) of the handbook.  A local copy
# can be found under /usr/share/doc/handbook/handbook.{html,latin1}.
#
# Banner pages are now suppressed by default.  Remove the :sh:
# capability to turn them back on.
#
#lp|local line printer:\
#       :sh:\
#       :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
#
# Sample remote printer.  The physical printer is on machine "lphost".
# NB: you cannot perform any kind of local filtering directly.  If
# you need local filters (e.g. LF -> CR-LF conversion for HP printers),
# create a filter script that recursively calls lpd with another -P
# argument after filtering.
#
#remote|sample remote printer:\
#       :sh:\
#       :rm=lphost:sd=/var/spool/output/lphost:lf=/var/log/lpd-errs:
#
# Simple Russian printer with hardware CP866 character set, output filter
# used for KOI8-R -> CP866 conversion
#
#lp|Russian local line printer:\
#       :sh:of=/usr/libexec/lpr/ru/koi2alt:\
#       :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
OKI-703N3|oki-703n3|remote printer OKI-703:\
        :sh:rp=raw:\
        :ct#0:mx#0:rm=OKI-703N3:sd=/var/spool/output/OKI-703N3:lf=/var/log/lpd-errs:
#
CannonBJC-465J|bjc-465j|remote printer CannonBJC-465J:\
        :sh:rp=raw:\
        :ct#0:mx#0:rm=CannonBJC-465J:sd=/var/spool/output/CannonBJC-465J:lf=/var/log/lpd-errs:
#