On Mon, Feb 24, 2014 at 06:36:35PM +0100, Andr?? St??be wrote:

> I had a similar setup some time ago. If I remember correctly, you can
> use lpr's -J option to pass options to foomatic-rip.

Thank you, Andre'.

I haven't found that the -J option works for me.  OTOH, the foomatic-rip -o
operand does work with print options when printing directly.

/etc/rc.conf.local contains:

lpd_flags="" 

/etc/printcap is:

lp|printer:\
        :lp=:rm=printer:\
        :af=/etc/foomatic/hp-lj_300_400_color_m351_m451-ps.ppd:\
        :if=/usr/local/bin/foomatic-rip:\
        :sh:mx#0:\
        :sd=/var/spool/output:\
        :lf=/var/log/lpd-errs:


I'm using a recent snapshot that includes patch 1.52 to
usr.sbin/lpr/lpd/printjob.c for remote lpd:

kern.version=OpenBSD 5.5-beta (GENERIC.MP) #239: Fri Feb 21 02:38:36 MST 2014
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP

Reply via email to