[Samba] Cups, samba and temporary print files

Stanley Tim tim.stanley at kuesters-usa.com
Wed Oct 27 14:34:48 GMT 2004

Stanley Tim wrote:
>This is probably more of a Cups issue, however, I have a question about the
>spool files from sharing Cups printers in Samba.
>The spool directory on my Samba server seems to be holding print job files
>from past print jobs. I'm wondering what is the proper way to eliminate
>these files?

>>If you put the '-r' flag in the print command in smb.conf, cups will 
>>delete the file when it's done with it.

Thanks. I found the issue. I modified cupsd.conf to include:

PreserveJobHistory No
PreserveJobFiles No

Simon Hobson MA MIEE, Technology Specialist
Colony Gift Corporation Limited
Lindal in Furness, Ulverston, Cumbria, LA12 0LD
Tel 01229 461100, Fax 01229 461101

Registered in England No. 1499611
Regd. Office : 100 New Bridge Street, London, EC4V 6JA.

More information about the samba mailing list