I'm using Debian Linux. I want to determine user base page limit, different page limit for different users, for a printer.
I can determine page limit for printer with CUPS but can not determine page limit for single user.
How can I achieve this?
I'm using Debian Linux. I want to determine user base page limit, different page limit for different users, for a printer.
I can determine page limit for printer with CUPS but can not determine page limit for single user.
How can I achieve this?
You can use job-page-limit option along with the -U username option of lpadmin print configuration command.
From the manpage:
-o job-page-limit=value
Sets the page limit for per-user quotas.
The value is the integer number of pages that can be printed;
double-sided pages are counted as two pages.
To set this limit per day you can use job-quota-period:
-o job-quota-period=value
Sets the accounting period for per-user quotas.
The value is an integer number of seconds; 86,400 seconds are in one day.