180994f81SBrad Davis# @(#)printcap 5.3 (Berkeley) 6/30/90 280994f81SBrad Davis# $FreeBSD$ 380994f81SBrad Davis 480994f81SBrad Davis# 580994f81SBrad Davis# This enables a simple local "raw" printer, hooked up to the first 680994f81SBrad Davis# parallel port. No kind of filtering is done, so everything you pass 780994f81SBrad Davis# to the "lpr" command will be printed unmodified. 880994f81SBrad Davis# 980994f81SBrad Davis# Remember, for further print queues you're going to add, you have 1080994f81SBrad Davis# to choose different spool directories (the "sd" capability below), 1180994f81SBrad Davis# otherwise you will greatly confuse lpd. 1280994f81SBrad Davis# 1380994f81SBrad Davis# For some advanced printing, have a look at the "apsfilter" package. 1480994f81SBrad Davis# It plugs into the lpd system, allowing you to print a variety of 1580994f81SBrad Davis# different file types by converting everything to PostScript(tm) 1680994f81SBrad Davis# format. For more information about apsfilter visit 1780994f81SBrad Davis# 1880994f81SBrad Davis# http://www.apsfilter.org/ 1980994f81SBrad Davis# 2080994f81SBrad Davis# If you don't have a PostScript(tm) printer, don't panic, but do 2180994f81SBrad Davis# also install the latest "ghostscript" package for best printer support. 2280994f81SBrad Davis# 2380994f81SBrad Davis# Do also refer to the "printing" section of the handbook. 2480994f81SBrad Davis# 25*c1a14887SCeri Davies# https://docs.freebsd.org/en/books/handbook/printing/ 2680994f81SBrad Davis# 2780994f81SBrad Davis# A local copy can be found under 2880994f81SBrad Davis# 2980994f81SBrad Davis# /usr/share/doc/handbook/handbook.{html,latin1}. 3080994f81SBrad Davis# 3180994f81SBrad Davis# Banner pages are now suppressed by default. Remove the :sh: capability 3280994f81SBrad Davis# to turn them back on. 3380994f81SBrad Davis# 3480994f81SBrad Davis#lp|local line printer:\ 3580994f81SBrad Davis# :sh:\ 3680994f81SBrad Davis# :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: 3780994f81SBrad Davis# 3880994f81SBrad Davis# Sample remote printer. The physical printer is on machine "lphost". 3980994f81SBrad Davis# You can perform any kind of local filtering directly. If you need 4080994f81SBrad Davis# local filters (e.g. LF -> CR-LF conversion for HP printers), create 4180994f81SBrad Davis# a filter script that sends the proper escape sequence to the printer 4280994f81SBrad Davis# and then concatenates stdin to stdout. 4380994f81SBrad Davis# 4480994f81SBrad Davis#remote|sample remote printer:\ 4580994f81SBrad Davis# :sh:\ 4680994f81SBrad Davis# :rm=lphost:sd=/var/spool/output/lphost:lf=/var/log/lpd-errs:\ 4780994f81SBrad Davis# :if=/usr/local/libexec/if-script: 4880994f81SBrad Davis# 4980994f81SBrad Davis# Simple Russian printer with hardware CP866 character set, output filter 5080994f81SBrad Davis# used for KOI8-R -> CP866 conversion 5180994f81SBrad Davis# 5280994f81SBrad Davis#lp|Russian local line printer:\ 5380994f81SBrad Davis# :sh:of=/usr/libexec/lpr/ru/koi2alt:\ 5480994f81SBrad Davis# :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: 55