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