Why multiple spool files?
J.Crompton at cs.ucl.ac.uk
Mon Mar 23 15:03:45 GMT 1998
On Fri, 20 Mar 1998 09:16:35 EST
David Collier-Brown <davecb at Canada.Sun.COM> wrote:
> Assuming that's correct (and I strongly suspect it is), and
> assuming you're using the lpr (as opposed to lp) command,
> try "/usr/ucb/lpr -s -P%p %s; rm %s"
I think you will find this will fail. The rm will delete the file that
the spooler has a symlink to. Looking at the lpr manual page
"/usr/ucb/lpr -r -s -P%p %s" should do the trick.
More information about the samba