On Tue, Aug 19, 2014 at 11:25 PM, Predrag Punosevac simple printcap file for printing using lpd and foomatic-rip for > about seven years now but since past release it stop working > > predrag@oko$ uname -a > OpenBSD oko.bagdala2.net 5.6 GENERIC.MP#333 amd64 > > lp|HP|HP Photosmart 5250:\ > :lp=/dev/ulpt0:\ > :af=/etc/foomatic/HP-PhotoSmart_C5200.ppd:\ > :if=/usr/local/bin/foomatic-rip:\ l sent to user predrag about job by daemon > with permission 664. Spooling directory has correct permission. This is > the only thing I see in log files > > Aug 19 23:10:16 oko lpd[15224]: lp: filter 'f' exited (retcode=9) > Aug 19 23:10:16 oko lpd[15224]: m/etc/foomatic/lpd/lp.ppd:\ > :sd=/var/spo> stdin on printer lp ((null)) > Aug 19 23:10:16 oko lpd[15224]: lp: job could not be printed > (cfA002oko.bagdala2.net) > > However /tmp/foomatic-rip-mF6GXB.log is a bit more <punoseva...@gmail.com> > wrote: > I 1.0.54 running...> :sh:sd=/var/spool/output:\ > :lf=/var/log/lpd-errs: > > I am of course in the daemon group and /etc/ulpt0 is own so long time ago. > > The above is obviously caused by options passed to foomatic-rip. I also > dislike the fact that one of the paths involve CUPS. > > Can somebody point to me what am I doing wrong here. I noticed that > /etc/foomatic is no longer created automatically. Also filter.conf file > is no longer needed? > > Thanks! > Predrag
It appears that I can print spool-lessly with foomatic-rip -P HP-PhotoSmart_C5200 --ppd HP-PhotoSmart_C5200.ppd > /dev/ulpt0 so it seems that problem is that somehow I have to pass printer Id="HP-PhotoSmart_C5200" to cups filter via printcap which coincide with log outpu. Predrag