[cups.general] Deleting spool data

Michael Sweet msweet at apple.com
Wed Nov 24 15:24:14 PST 2010


On Nov 24, 2010, at 1:34 AM, javier wrote:
> Hi,
> 
> I would like to know if there's any way of deleting a spool data from cups.
> I've tried removing the data from /var/spool/cups but then I do lpq I can see that the job is still there. My main doubt is where is the job stored? why does the job still appear if I delete de spool file from the folder?

cupsd caches job history in memory.  You should use "cancel -a" to cancel all jobs and their history, or you can set PreserveJobHistory to "no" to tell CUPS not to keep job history:

    cupsctl PreserveJobHistory=no

________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair








More information about the cups mailing list