Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

var/spool/samba fills up ? how to prevent this?

Status
Not open for further replies.

wbstrider

Programmer
Mar 2, 2001
78
US
Network users could not print due to the spool dir filling up.

I wonder what setting I need to change so the spooled files delete after printed?

Using CUPS. No other system problems. :eek:)

Thanks for any assistance or ideas

One Code to rule them all, One code to bind them.
 
Not the best solution, but the only one I know:

print command = /usr/bin/lpr -P%p -r %s;rm %s

In the [global] section of smb.conf

"If you always do what you've always done, you will always be where you've always been."
 
Apparently my samba is not linked against libcups. (whatever that is) So the print command should not be ignored.

But before I insert it into my conf file, wanted to be sure of the effect.

My spool dir is /var/spool/samba for the samba printjobs. And the Print Command you gave points elsewhere. I wonder could you tell me what the command you wrote will do. I've been trying to research.

Thanks for the help.

One Code to rule them all, One code to bind them.
 
Just the rm %s has been added

print command = /usr/bin/lpr -P%p -r %s;rm %s

"/usr/bin/lpr -P%p -r %s" would print %s
";rm %s" would remove the file


"If you always do what you've always done, you will always be where you've always been."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top