I have samba version  2.2.5 with printing patches.
printpro 4.2.2 = cups version  1.1.14 (I think)
The files queued in /var/spool/samba don't ever get deleted!!
They are deleted after they are printed by cups in the cups spool
directory.
Why is samba not deleting the files?
Do I need to specify a pint command?
Thanks
This is my samba config:
# Global parameters
[global]
        workgroup = MINE
        netbios name = PRINT
        interfaces = eth0
        security = DOMAIN
        encrypt passwords = Yes
        update encrypted = Yes
        password server = *
        pam password change = Yes
        log level = 1
        log file = /var/log/samba/%m.log
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = cups
        preferred master = False
        local master = No
        domain master = False
        dns proxy = No
        wins server = 192.168.250.30
        hide local users = Yes
        winbind uid = 10000-20000
        winbind gid = 10000-20000
        template shell = /bin/bash
        winbind separator = +
        winbind cache time = 600
        winbind use default domain = Yes
        printer admin = @Domain_Printer_Oper
        printing = cups
[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No
[print$]
        path = /var/spool/pdrivers
        write list = @Domain_Printer_Oper
[PrintDriver]
        path = /var/pdrivers
        write list = @Domain_Printer_Oper
Bug in samba printing cups. It cant resolve -P %p in the print command.Use this in printer share. print command = lpr (absolute path to your printer) %s;rm %s -r Else u must create a cron job to remove them ie each 10 minutes. --- Pablo Marques <pmarques@herald.com> skrev: > I have samba version 2.2.5 with printing patches.> printpro 4.2.2 = cups version 1.1.14 (I think) > > The files queued in /var/spool/samba don't ever get > deleted!! > They are deleted after they are printed by cups in > the cups spool > directory. > Why is samba not deleting the files? > Do I need to specify a pint command? > > Thanks > > This is my samba config: > > # Global parameters > [global] > workgroup = MINE > netbios name = PRINT > interfaces = eth0 > security = DOMAIN > encrypt passwords = Yes > update encrypted = Yes > password server = * > pam password change = Yes > log level = 1 > log file = /var/log/samba/%m.log > socket options = TCP_NODELAY SO_RCVBUF=8192 > SO_SNDBUF=8192 > printcap name = cups > preferred master = False > local master = No > domain master = False > dns proxy = No > wins server = 192.168.250.30 > hide local users = Yes > winbind uid = 10000-20000 > winbind gid = 10000-20000 > template shell = /bin/bash > winbind separator = + > winbind cache time = 600 > winbind use default domain = Yes > printer admin = @Domain_Printer_Oper > printing = cups > > [printers] > comment = All Printers > path = /var/spool/samba > printable = Yes > browseable = No > > [print$] > path = /var/spool/pdrivers > write list = @Domain_Printer_Oper > > [PrintDriver] > path = /var/pdrivers > write list = @Domain_Printer_Oper > > > > -- > 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
On Fri, 4 Oct 2002, Pablo Marques wrote:> I have samba version 2.2.5 with printing patches. > printpro 4.2.2 = cups version 1.1.14 (I think) > > The files queued in /var/spool/samba don't ever get deleted!! They are > deleted after they are printed by cups in the cups spool directory. Why > is samba not deleting the files? Do I need to specify a pint command?Bug that has already been fixed in SAMBA_2_2 cvs tree (to be 2.2.6). 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--