[cups.general] Unable to set page-limit

Jabka Atu mashrom.head at gmail.com
Wed Nov 7 05:11:43 PST 2007


The starnge thing is that i even set the page limit to 1 and still i
wase able to print and print and print ...


On Nov 6, 2007 7:14 PM, Michael R Sweet <msweet at apple.com> wrote:
>
> Jabka Atu wrote:
> > Hello.
> >
> > On my configuration i wish that only two user could print and each one
> > could print upto 20 pages a day.
> >
> > i went to admin and set the allowed users for a printer (and wrote
> > them as "foo1 foo2")
> >
> > went to the console to use lpadmin:
> >
> > #lpadmin -p printer -o job-quota-period=6004800 -o job-page-limit= 20
> >
> > but when i tested that setting (by printing 40 pages ) it still printed.
>
> First, CUPS quotas allow a single job to go over the limit.  The
> second job should not print.  If you need tighter controls, look at
> third-party solutions like Pykota which provide greater control than
> the basic CUPS functionality.
>
> Second, 1 day is 86400 seconds, not 6004800 (which is 69.5 days... :)
>
> --
> ______________________________________________________________________
> Michael R Sweet                        Senior Printing System Engineer
>
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
>





More information about the cups mailing list