AutoPurge/MaxJobsPerPrinter on a single Queue

Helge Blischke h.blischke at srz.de
Thu Oct 11 06:47:48 PDT 2007


David Montminy wrote:
>>David Montminy wrote:
>>
>>>Hi!
>>>
>>>Is there any way to define a different "MaxJobsPerPrinter" for each queue?
>>>
>>>I'm trying to setup Cups to retain documents from certain queues and automatically purge documents from the others.
>>>
>>>We have 2 "type" of queue on the print server:
>>>1)From automated applications (Such as Pay Roll)
>>>2)User-generated
>>>
>>>These are different printers, but the jobs are generated on the same server (running as print server). The automated jobs have to be kept for at least a month.
>>>
>>>I've tried a couple of combinations of the "MaxJobs", "AutoPurgeJobs", "MaxJobsPerPrinter" and Quotas but I cannot get the User-generated queues empty of old re-printable jobs. It simply keeps everything up to the limit  defined by "MaxJobs" or "MaxJobsPerPrinter".
>>>
>>>Is there something I misunderstood?
>>>
>>>David Montminy
>>
>>Perhaps you may set up 2 CUPS instances which advertize their printers
>>to the other.
>>
>>Helge
>>
>>--
>>Helge Blischke
>>Softwareentwicklung
>>
>>H.Blischke at acm.org
> 
> 
> I wish I could. This is a Legacy system with 2000+ COBOL applications, so any major change to the printer queues might break something...
> 
> I can change the back-end, but the way the applications interface with the system (including queue names) must stay the same...
> 
> David Montminy

.... or you set up a CUPS server as sort of "dispatcher" server which simply forwards
the jobs to the respective "real" CUPS server. Thus, your legacy applications all
talk to the dispatcher as they used to ...

Helge


-- 
Helge Blischke
Softwareentwicklung

H.Blischke at acm.org




More information about the cups mailing list