AutoPurge/MaxJobsPerPrinter on a single Queue

David Montminy david.montminy at gmail.com
Tue Oct 16 06:54:15 PDT 2007


> David Montminy wrote:
> >>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
> >
> >
> > Is there any way to install cups twice on a single server? Because a new server is not an option in my case.
> >
> > David Montminy
> >
>
> Yes, you only need to specify different ports for each one.
>
> Helge
>
> --
> Helge Blischke
> Softwareentwicklung
> SRZ Berlin | Firmengruppe besscom
>
> H.Blischke at acm.org

One last question: Is there any 'official' way to simulate (in a script) a user pressing the 'Cancel All Job' button?

David Montminy




More information about the cups mailing list