[Samba] Spool files not deleted when "printing = cups"
Kurt Pfeifle
kpfeifle at danka.de
Sat Sep 7 20:55:01 GMT 2002
James Matheson wrote on "samba digest":
> Message: 4
> Date: Tue, 3 Sep 2002 17:57:39 +0100 (BST)
> From: James Matheson <jmrm at eng.cam.ac.uk>
> To: <samba at samba.org>
> Organization: University Engineering Department. Cambridge. England
> Subject: [Samba] Spool files not deleted when "printing = cups"
>
> We're using the built-in CUPS interface for printing from Samba and this,
> as shipped, leaves the spool files in the directory defined by
> [printers]
> path = whatever
> in smb.conf. Other printing types typically explicitely delete these
> files as part of the print command but the CUPS interface doesn't
> offer any facility to do this. A possible solution is, as in the
> attached patch, to delete the file at the end of cups_job_submit().
> print_cups.c.dist is as distributed in samba-2.2.5.tar.gz .
>
> A cleaner (more generic) alternative might be to add a configuration option
> applicable to all printing types which does the deletion, eg
> remove printfile = yes
>
> --
> James M.R.Matheson
Hi, James,
have you tried to set "PreserveJobFiles No" and "PreserveJobHistory No"
in /etc/cups/cupsd.conf? Does it produce the same results?
Cheers,
Kurt
More information about the samba
mailing list