hello, 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. Right now it just grows and grows until I have to delete all the files from there. Isn't Samba suppose to get rid of all those??? here is my config file: # Global parameters [global] workgroup = MTD netbios name = GRINDER security = DOMAIN password server = PUNCH server string = Samba Server v.2.2.5 encrypt passwords = Yes log file = /var/log/samba/log max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = cups os level = 30 printing = cups load printers = yes [printers] comment = All Printers path = /var/spool/samba browseable = no public = yes guest ok = yes writable = no printable = yes printer admin = @ntadm,root If anyone can help me get those to delete that would be great. Thanks
Matt Lung wrote:> hello, > > 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. Right now it just grows and grows until I have to delete > all the files from there. Isn't Samba suppose to get rid of all > those??? > > here is my config file: > > # Global parameters > [global] > workgroup = MTD > netbios name = GRINDER > security = DOMAIN > password server = PUNCH > server string = Samba Server v.2.2.5 > encrypt passwords = Yes > log file = /var/log/samba/log > max log size = 0 > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > printcap name = cups > os level = 30 > printing = cups > load printers = yes > > [printers] > comment = All Printers > path = /var/spool/samba > browseable = no > public = yes > guest ok = yes > writable = no > printable = yes > printer admin = @ntadm,root > > > If anyone can help me get those to delete that would be great. > > Thanks >It was a bug. Has been fixed. Take a look at ... http://marc.theaimsgroup.com/?l=samba&m=103238146015624&w=2 http://marc.theaimsgroup.com/?l=samba&m=103253327623368&w=2 you can always use something like print command = /usr/bin/lp -d%p -o raw %s;rm %s in smb.conf
On Thu, 26 Sep 2002, Matt Lung wrote:> hello, > > 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.> Right now it just grows and grows until I have to delete all the files > from there. Isn't Samba suppose to get rid of all those???This was a bug in the Samba/CUPS interaction in 2.2.5. Will be fixed in the upcomign 2.2.6 release. cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "SAMS Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
You can try this to add this to your printer share. lprm command = /usr/bin/cancel /absolute path to printer/-%j --- Matt Lung <matt.lung@midwest-tool.com> skrev: > hello,> > 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. > Right now it just grows and grows until I have to > delete all the files > from there. Isn't Samba suppose to get rid of all > those??? > > here is my config file: > > # Global parameters > [global] > workgroup = MTD > netbios name = GRINDER > security = DOMAIN > password server = PUNCH > server string = Samba Server v.2.2.5 > encrypt passwords = Yes > log file = /var/log/samba/log > max log size = 0 > socket options = TCP_NODELAY SO_RCVBUF=8192 > SO_SNDBUF=8192 > printcap name = cups > os level = 30 > printing = cups > load printers = yes > > [printers] > comment = All Printers > path = /var/spool/samba > browseable = no > public = yes > guest ok = yes > writable = no > printable = yes > printer admin = @ntadm,root > > > If anyone can help me get those to delete that would > be great. > > Thanks > > -- > To unsubscribe from this list go to the following > URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba______________________________________________________ Se den nye Yahoo! Mail p? http://no.yahoo.com/ Nytt design, enklere ? bruke, alltid tilgang til Adressebok, Kalender og Notisbok