これは全てですが 関係の有る所は最後の 5行です。
#
# Copyright (c) 1983 Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that this notice is preserved and that due credit is given
# to the University of California at Berkeley. The name of the University
# may not be used to endorse or promote products derived from this
# software without specific prior written permission. This software
# is provided ``as is'' without express or implied warranty.
#
# @(#)etc.printcap 5.2 (Berkeley) 5/5/88
#
# DecWriter over a tty line.
#lp|ap|arpa|ucbarpa|LA-180 DecWriter III:\
# :br#1200:fs#06320:tr=\f:of=/usr/lib/lpf:lf=/usr/adm/lpd-errs:
#lp:lp=/dev/lp0:sd=/usr/spool/lp0:of=/usr/lib/lpf: lf=/usr/adm/lpd-errs
#
# Generic printer:
#lp:lp=/dev/lp1:sd=/var/spool/lpd:sh
#
# typical remote printer entry
#ucbvax|vax|vx|ucbvax line printer:\
# :lp=:rm=ucbvax:sd=/usr/spool/vaxlpd:lf=/usr/adm/lpd-errs:
#varian|va|Benson Varian:\
# :lp=/dev/va0:sd=/usr/spool/vad:mx#2000:pl#58:px#2112:py#1700:tr=\f:\
# :of=/usr/lib/vpf:if=/usr/lib/vpf:tf=/usr/lib/rvcat:cf=/usr/lib/vdmp:\
# :gf=/usr/lib/vplotf:df=/usr/local/dvif:\
# :vf=/usr/lib/vpltdmp:lf=/usr/adm/lpd-errs:
#versatec|vp|Versatec plotter:\
# :lp=/dev/vp0:sd=/usr/spool/vpd:sb:sf:mx#0:pw#106:pl#86:px#7040:py#2400:\
# :of=/usr/lib/vpfW:if=/usr/lib/vpsf:tf=/usr/lib/vcat:cf=/usr/lib/vdmp:\
# :gf=/usr/lib/vplotf:vf=/usr/lib/vpltdmp:lf=/usr/adm/lpd-errs:\
# :tr=\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
#\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
#\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n:
#
#lp|panasonic:lp=/dev/lp1:sd=/usr/spool/lp/panasonic:lf=/usr/bin/mail:mc#1:\
# ft=$$c$$p$$r$$f:hl#2:fl#3:ht=$$c$$n$$r$$t:sh:
#
# HP Laser jet plus
#lp|hpj:\
# :lp=/dev/lp1:\
# :sd=/usr/spool/lp1:\
# :mx#0:\
# :of=/usr/spool/lp1/hpjlp:
# :lf=/usr/spool/lp1/hp-log:
#
#lp|Generic dot-matrix printer entry:\
# :lp=/dev/lp1:\
# :sd=/var/spool/lp1/lp:sh:\
# :if=/usr/bin/lpf:\
# :df=/var/spool/lp1/filter.ps:\
# :tf=/var/spool/lp1/filter.ps:\
# :af=/var/spool/lp1/lp-acct:\
# :lf=/var/spool/lp1/lp-err:
# written for pipslite
lite|lp:\
:sd=/var/spool/lpd/lite:\
:mx#0:\
:sh:\
:lp=/var/run/ekplp0:\
:if=/usr/lib/pipslite/filterlite:
# pipslite end
# txt|text:\
# :lp=/dev/usb/usblp0:\
# :sd=/usr/spool/txt:\
# :lf=/usr/spool/txt/log:\
# :af=/usr/spool/txt/acct:\
# :if=/usr/bin/txt-if:\
# :mx#0:\
# :sh:
epson|ps|PM-A890:\
:sd=/var/spool/lpd/lite:\
:mx#0:\
:sh:\
:lp=/var/run/ekplp0:\
:if=/usr/local/bin/pipslitemyfilter01:
txt|txt-epson|PM-A890-txt:\
:sd=/var/spool/lpd/lite:\
:mx#0:\
:sh:\
:lp=/var/run/ekplp0:\
:if=/usr/local/bin/pipslitemyfilter02:
samba|samba-epson|sambaPM-A890:\
:lp=/var/run/ekplp0:\
:sd=/var/spool/samba:\
:mx#0:\
:sh:\
要するに フィルター部分 ”:if=/usr/bin/nannkakannka:”の 部分は 無し ということです。
にゃんたろう 拝!
2008年12月 4日 (木) 23:33:20 JST