[cups.general] Unable to set page-limit

Jabka Atu mashrom.head at gmail.com
Wed Nov 7 14:42:00 PST 2007


I added to configuration files maybe it will help

Jabka Atu wrote:
> Im using debian lenny with cups 1.3.4 tried the next device and drivers :
> CUPS-pdf + Genric Postscript color printer rev4
> Oki 14ex + cuos+gutenprint 5.0.1
>
> both with the same problem :
> I can still print as many i want (more then one)
>
> On Nov 7, 2007 7:36 PM, Michael R Sweet <msweet at apple.com> wrote:
>   
>> Jabka Atu wrote:
>>     
>>> The starnge thing is that i even set the page limit to 1 and still i
>>> wase able to print and print and print ...
>>>       
>> Hmm, what driver are you using?
>>
>>
>>     
>>> 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
>>>>
>>>>         
>>> _______________________________________________
>>> cups mailing list
>>> cups at easysw.com
>>> http://lists.easysw.com/mailman/listinfo/cups
>>>       
>> --
>>
>> ______________________________________________________________________
>> Michael R Sweet                        Senior Printing System Engineer
>>
>> _______________________________________________
>> cups mailing list
>> cups at easysw.com
>> http://lists.easysw.com/mailman/listinfo/cups
>>
>>     
>
>   


-- 
--
Could you at least use man ?
	Jabka Atu (aka mha13/Mashrom Head) || bsh83.blogspot.com
--

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: classes.conf
URL: <https://lists.cups.org/pipermail/cups/attachments/20071107/2c8f6734/attachment-0014.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: classes.conf.O
Type: application/x-object
Size: 548 bytes
Desc: not available
URL: <https://lists.cups.org/pipermail/cups/attachments/20071107/2c8f6734/attachment-0003.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: command.types
URL: <https://lists.cups.org/pipermail/cups/attachments/20071107/2c8f6734/attachment-0015.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cupsd.conf
URL: <https://lists.cups.org/pipermail/cups/attachments/20071107/2c8f6734/attachment-0016.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cupsd.conf.default
URL: <https://lists.cups.org/pipermail/cups/attachments/20071107/2c8f6734/attachment-0017.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cupsd.conf.dpkg-dist
URL: <https://lists.cups.org/pipermail/cups/attachments/20071107/2c8f6734/attachment-0018.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cupsd.conf.O
Type: application/x-object
Size: 3086 bytes
Desc: not available
URL: <https://lists.cups.org/pipermail/cups/attachments/20071107/2c8f6734/attachment-0004.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cups-pdf.conf
URL: <https://lists.cups.org/pipermail/cups/attachments/20071107/2c8f6734/attachment-0019.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cups-pdf.conf.dpkg-dist
URL: <https://lists.cups.org/pipermail/cups/attachments/20071107/2c8f6734/attachment-0020.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mime.convs
URL: <https://lists.cups.org/pipermail/cups/attachments/20071107/2c8f6734/attachment-0021.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mime.types
URL: <https://lists.cups.org/pipermail/cups/attachments/20071107/2c8f6734/attachment-0022.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: printers.conf
URL: <https://lists.cups.org/pipermail/cups/attachments/20071107/2c8f6734/attachment-0023.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: printers.conf.O
Type: application/x-object
Size: 885 bytes
Desc: not available
URL: <https://lists.cups.org/pipermail/cups/attachments/20071107/2c8f6734/attachment-0005.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pstoraster.convs
URL: <https://lists.cups.org/pipermail/cups/attachments/20071107/2c8f6734/attachment-0024.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: raw.convs
URL: <https://lists.cups.org/pipermail/cups/attachments/20071107/2c8f6734/attachment-0025.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: raw.types
URL: <https://lists.cups.org/pipermail/cups/attachments/20071107/2c8f6734/attachment-0026.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: snmp.conf
URL: <https://lists.cups.org/pipermail/cups/attachments/20071107/2c8f6734/attachment-0027.ksh>


More information about the cups mailing list