[comp.unix.ultrix] /usr/lib/lpd broken in Ultrix 4.0

dw@csri.toronto.edu (Dave Wortman) (12/19/90)

I've been trying to use the expanded facilities of /usr/lib/lpd
to do remote printing from a distant workstation.  On the workstation,
/etc/printcap for the remote printer includes:
	ct=network:uv=psv1.0:of=MYFILTER
plus the usual entries.  MYFILTER is installed in /usr/local/lib/lpdfilters.
By adding db#10 to the printcap entry I can monitor attempts at remote
printing (very useful debug output BTW).  MYFILTER gets called by
/usr/lib/lpd with the expected arguments.

The problem is that NO standard input is attached to MYFILTER when it
gets called.  i.e. if I replace MYFILTER with /bin/cat > /tmp/foo
nothing goes into the file /tmp/foo.

If anyone has a workaround for this bug, I'd be interested

Dave Wortman, Computer Systems Research Institute, University of Toronto