[Samba] /var/spool/samba retention period

Chris McKeever cgmckeever at prupref.com
Fri May 23 16:45:47 GMT 2003


> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Fri, 23 May 2003, _Chris McKeever_ wrote:
> 
> > man, I thought the list was dead!
> > 
> > anyway, I am running 2.2.8m but I ofund that I needed to add
> > ;rm %s
> > to my print command!
> 
> If you have 'printing = cups' and smbd is linked with 
> the CUPS libs, then you shouldn't need a print command at all.
> Other wise, yes you will need to remove the file as part of 
> the print command.
> 
> 

This is how I have it set up, but I dont know what you mean by smbd is
linked with the CUPS libs,

here is a snippet of my smb.conf (I defined them individually because of
permissions on some):

[konica-3rd]
        printer = konica_3rd
        printing = cups
        comment = Konica 7135 - 1201 3rd Floor
        path = /var/spool/samba
        browseable = yes
        guest ok = yes
        writable = no
        printable = yes
        print command = lpr.cups -P %p -o raw %s;rm %s
        lpq command = lpstat.cups -o %p
        lprm command = cancel.cups %p-%j

> 
> 
> 
> cheers, jerry
>  
> ----------------------------------------------------------------------
>  Hewlett-Packard            ------------------------- 
http://www.hp.com
 SAMBA Team                 ---------------------- http://www.samba.org
 GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+zk+7IR7qMdg1EfYRAke1AJwKM3O4R4mfeNpS3iTiflHrChbfUwCePM8F
BtQjfdzvJYAqOAk6iJowHaw=
=sYW0
-----END PGP SIGNATURE-----



More information about the samba mailing list