[Samba] samba spool problem...
Joel at HammersHome.com
Wed Feb 27 22:46:14 GMT 2002
I believe that the -r option removes the file %s, that's all. It can't
touch the original file back on your client. I think what you have done
Other options would include making the printer command:
/usr/local/bin/lpr -P%p;rm %s
In any event, your printing command has to remove the file or the jobs
will hang around.
on Wed, Feb 27, 2002 at 04:24:22PM -0800, Steve Jen wrote:
> Hi all,
> I just realized that the samba print spool is no longer flushing its
> queue'd print jobs even after it's been printed. In other words, the
> spool will eventually get full during which no jobs can be spooled and
> printed anymore. I worked around the problem and inserted the -r
> option to lpr for the print command in smb.conf:
> /usr/local/bin/lpr -r -P%p %s
> That seems to have the print job spooled and removed real quickly at the
> same time and I get the printout just fine without the print job still
> sitting on the print spool taking up space. My question to all is what
> your workaround is or is this the best way to deal with it? I read from
> some samba sites that with the -r option it will print then remove the
> original files! That's absolutely not happening to me (tested many
> times) and I highly doubt that. I think it just removes the files from
> the spooler and not the original directory...
> Lastly, I'd like to find out the root cause of this problem. If I can
> get a reolution for the root cause hopefully everybody can learn from
> it. Any help is greatly appreciated...thanks in advance...
More information about the samba