On Mon, 19 Oct 2020 21:19:26 -0600, "Raymond, David" wrote: > I tried putting a filter that drives an HP Deskjet printer (works with > lprng on linux) as an output filter in printcap and it didn't work. > Would it be more proper to put it as an input filter? I am still on > version 6.7 of the OS. (I saw a recent post indicating that changes > were made to the lpr system in 6.8.)
Yes, an input filter should work. I used to have an HP printer years ago and I used the following printcap entries. Maybe it will give your a starting point. There is some info at http://www.linuxprinting.org/lpd-doc.html on using foomatic-rip with BSD lpd, which appears to be what I based this on. psc2410|psc2400|psc 2410|HP PSC 2410:\ :lp=/dev/ulpt0:lf=/var/log/lpd-errs:mx#0:sh:sf:\ :sd=/var/spool/output: # See http://www.linuxprinting.org/lpd-doc.html printer|lp|ps|PostScript|HP PSC 2410 (PostScript):\ :if=/usr/local/libexec/lpr/foomatic-rip:tc=psc2410:\ :af=/usr/local/share/ppd/HP-PSC_2400-hpijs.ppd: