[Samba] /var/spool/samba full of print jobs

Joel Hammer Joel at HammersHome.com
Wed Apr 2 11:18:36 GMT 2003

I can't really help with cups specifically, but, you may  need to have a
command in your smb.conf to remove print jobs from the samba queue. For
example, here is a typical print command with lprng:

 print command = /usr/bin/lpr -Plp -J'%J'  %s; rm %s

If you can't do this, you could run a cron job which cleans up the the spool
directory from time to time.


On Wed, Apr 02, 2003 at 11:47:54AM +0100, Bill Dossett wrote:
> Hi,
> madly looking for an answer to this but haven't
> found it in the smb.conf man pages yet...
> I'm using samba for my print server. I use
> printing = cups with samba.
> Currently it looks like all print jobs
> are being retained in /var/spool/samba and
> it has just filled my var fs :-(  and no
> one can print.  I can't seem to find
> any parameters associated with pruning
> the jobs, or how long they should be retained
> if at all??  Am I looking for the wrong keywords
> retain /var/spool/samba?  Sorry, I've got users
> yelling at me cos they can't print and it makes
> searching very difficult, can anyone help me
> out here urgently?
> Thanks
> Bill
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list