[SAMBA] spool dir

Mac dmccann at nibsc.ac.uk
Thu Sep 26 16:59:00 GMT 2002

>From: "Gerald (Jerry) Carter" <jerry at samba.org>
>To: Matt Lung <matt.lung at midwest-tool.com>
>Cc: samba at lists.samba.org
>Subject: Re: [SAMBA] spool dir
>> I'm having a problem with print files not being deleted out of 
>> /var/spool/samba directory after a print job completes.  
>> Right now I am running RedHat 7.3, Samba 2.2.5 with CUPS 1.1.14 as my
>> printing system.  I was under the impression that after the job
>> completed Samba was suppose to remove the job from that spool directory.
>If you are using anything but CUPS, you have to delete this manually.

For non-CUPS, this is often achieved by using the following (or something
similar) in smb.conf

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

          Assistant Systems Adminstrator @nibsc.ac.uk
                        dmccann at nibsc.ac.uk
   Work: +44 1707 641000 x285      Everything else: +44 7956 237670 (anytime)

More information about the samba mailing list