On Thu, Nov 11, 1999 at 05:51:35PM -0800, Alvin Oga wrote: > > hi bon > > Asumming your printer is hooked up to WinNT parallel port /dev/lp0 ( LPT1 ) > > > /etc/printcap > lp0|hp5si|HP LaserJet 5si:\ > :lp=:\ > :rp=lp0:\ > :rm=hp5si.your_domain.com:\ > :sd=/var/spool/lpd/lp0/:\ > :lf=/var/spool/lpd/lp0/log:\ > :mx#0:\ > :sh: > > filtering (:if:..) locally for a remote printer ( :rm:... ) does not do > anything... > ( do it on the command line )
Hi, all lprng can filter locally for a remote printer (see "bounce queues" in man page). One of my working princap entries is like this: hp4|hplj4|HP Laserjet 4:\ :[EMAIL PROTECTED]:\ :[EMAIL PROTECTED]:\ :sd=/var/spool/lpd/hplj4:\ :sh:pw#80:pl#72:px#1440:mx#0:\ :if=/etc/magicfilter/ljet4-filter:\ :af=/var/log/lp-acct:lf=/var/log/lp-errs: Mirek