/usr/lib/lpd

Andy Pearman pearmana at prl.philips.co.uk
Mon Dec 4 04:42:36 AEST 1989


We are running Sun OS 4.0.3 We have recently installed Interleafs TPS
Desktop Publishing System.  This installs lots of filters and links in
directories /var/spool and /var/spool/ipd2 and ipd3.

Now when the machine boots and starts lpd evrything works fine.  Files are
written to the spool directories and lpr picks them up and runs the
various filters and that on them.

However, if I kill lpd for some reason and then re-start it by hand
(/usr/lib/lpd  as root), all the filters in /var/spool/.... stop working
and the listings seize-up.

Now, is it that lpd has certain search-paths defined when started by
booting that are not present when I start it by hand ????

If I move the filters to /usr/local/bin (for example) it all starts
working again.

Here is an extract from the printcap file:

3|ps1|Printer#3(laserwriter):\
        :lpd=/usr/lib/lpd:lp=/dev/null:sd=/usr/spool/ipd3:\
        :lf=/usr/spool/ipd3/log:if=/usr/spool/plfilt.4.0:\
        :pl#3:sh:sb:sf:rw:\
        :printerleaf=  pl2ps %! /usr/ucb/lpr -Plw -h:\
        :printerleaf-1=\
         pl2ps.4.0 -RV -r 1270 -T pslw %! /usr/ucb/lpr -Plw -h:\
        :printerleaf-2=\
         pl2ps.4.0 -RV -r 1270 -T pslw %! /usr/ucb/lpr -Plw -h:\
         pl2ps.4.0 -RV -r 1270 -T pslw %! /usr/ucb/lpr -Plw -h:\
        :printerleaf-3=\
         pl2ps.4.0 -RV -r 1270 -T pslw %! /usr/ucb/lpr -Plw -h:\
        :other=/usr/ucb/lpr -Plw -h:
2|cx3|Printer#2(cx-laserwriter):\
        :lpd=/usr/lib/lpd:lp=/dev/null:sd=/usr/spool/ipd2:\
        :lf=/usr/spool/ipd2/log:if=/usr/spool/plfilt.4.0:\
        :pl#2:sh:sb:sf:rw:\
        :printerleaf=  pl2ps %! /usr/ucb/lpr -Plw -h:\
        :printerleaf-1=\
         pl2ps.4.0 -RV -T cx %! /usr/ucb/lpr -Plw -h:\
        :printerleaf-2=\
         pl2ps.4.0 -RV -T cx %! /usr/ucb/lpr -Plw -h:\
        :printerleaf-3=\
         pl2ps.4.0 -RV -T cx %! /usr/ucb/lpr -Plw -h:\
        :other=/usr/ucb/lpr -Plw -h:

Andy Pearman, Computer Dept, Philips Research Labs, Redhill, Surrey, England. 
              pearmana at prl.philips.co.uk



More information about the Comp.sys.sun mailing list