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?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
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
-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.