How can I determine user base page limit for a printer?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
4
down vote

favorite
1












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?










share|improve this question























  • Perhaps you could show how you're determining these things currently? It's a little difficult to understand what you're asking for.
    – slm♦
    Feb 21 '14 at 15:08










  • I want to manage printer page quota and i want to do this user base. For example we have an office that have one printer which is name "Printer A" and two person names "slm" and "ibasaran". Slm can print 10 page and ibasaran can print 20 page a day via Printer A. With CUPS we can determine page limit but it is not user base it is printer base. For example we can determine anybody can print 10 page a day with CUPS. cups.org/documentation.php/doc-1.7/…
    – ibasaran
    Feb 21 '14 at 15:28











  • I'm also trying to do that, and from what I understand quota per user is not achievable natively. So I'm on my way to try Pykota (pykota.com/software/pykota). Just in case you didn't know about it...
    – user94972
    Dec 15 '14 at 10:21














up vote
4
down vote

favorite
1












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?










share|improve this question























  • Perhaps you could show how you're determining these things currently? It's a little difficult to understand what you're asking for.
    – slm♦
    Feb 21 '14 at 15:08










  • I want to manage printer page quota and i want to do this user base. For example we have an office that have one printer which is name "Printer A" and two person names "slm" and "ibasaran". Slm can print 10 page and ibasaran can print 20 page a day via Printer A. With CUPS we can determine page limit but it is not user base it is printer base. For example we can determine anybody can print 10 page a day with CUPS. cups.org/documentation.php/doc-1.7/…
    – ibasaran
    Feb 21 '14 at 15:28











  • I'm also trying to do that, and from what I understand quota per user is not achievable natively. So I'm on my way to try Pykota (pykota.com/software/pykota). Just in case you didn't know about it...
    – user94972
    Dec 15 '14 at 10:21












up vote
4
down vote

favorite
1









up vote
4
down vote

favorite
1






1





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?










share|improve this question















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?







cups quota printer






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 21 '14 at 23:40









Gilles

509k12010071537




509k12010071537










asked Feb 21 '14 at 14:15









ibasaran

5118




5118











  • Perhaps you could show how you're determining these things currently? It's a little difficult to understand what you're asking for.
    – slm♦
    Feb 21 '14 at 15:08










  • I want to manage printer page quota and i want to do this user base. For example we have an office that have one printer which is name "Printer A" and two person names "slm" and "ibasaran". Slm can print 10 page and ibasaran can print 20 page a day via Printer A. With CUPS we can determine page limit but it is not user base it is printer base. For example we can determine anybody can print 10 page a day with CUPS. cups.org/documentation.php/doc-1.7/…
    – ibasaran
    Feb 21 '14 at 15:28











  • I'm also trying to do that, and from what I understand quota per user is not achievable natively. So I'm on my way to try Pykota (pykota.com/software/pykota). Just in case you didn't know about it...
    – user94972
    Dec 15 '14 at 10:21
















  • Perhaps you could show how you're determining these things currently? It's a little difficult to understand what you're asking for.
    – slm♦
    Feb 21 '14 at 15:08










  • I want to manage printer page quota and i want to do this user base. For example we have an office that have one printer which is name "Printer A" and two person names "slm" and "ibasaran". Slm can print 10 page and ibasaran can print 20 page a day via Printer A. With CUPS we can determine page limit but it is not user base it is printer base. For example we can determine anybody can print 10 page a day with CUPS. cups.org/documentation.php/doc-1.7/…
    – ibasaran
    Feb 21 '14 at 15:28











  • I'm also trying to do that, and from what I understand quota per user is not achievable natively. So I'm on my way to try Pykota (pykota.com/software/pykota). Just in case you didn't know about it...
    – user94972
    Dec 15 '14 at 10:21















Perhaps you could show how you're determining these things currently? It's a little difficult to understand what you're asking for.
– slm♦
Feb 21 '14 at 15:08




Perhaps you could show how you're determining these things currently? It's a little difficult to understand what you're asking for.
– slm♦
Feb 21 '14 at 15:08












I want to manage printer page quota and i want to do this user base. For example we have an office that have one printer which is name "Printer A" and two person names "slm" and "ibasaran". Slm can print 10 page and ibasaran can print 20 page a day via Printer A. With CUPS we can determine page limit but it is not user base it is printer base. For example we can determine anybody can print 10 page a day with CUPS. cups.org/documentation.php/doc-1.7/…
– ibasaran
Feb 21 '14 at 15:28





I want to manage printer page quota and i want to do this user base. For example we have an office that have one printer which is name "Printer A" and two person names "slm" and "ibasaran". Slm can print 10 page and ibasaran can print 20 page a day via Printer A. With CUPS we can determine page limit but it is not user base it is printer base. For example we can determine anybody can print 10 page a day with CUPS. cups.org/documentation.php/doc-1.7/…
– ibasaran
Feb 21 '14 at 15:28













I'm also trying to do that, and from what I understand quota per user is not achievable natively. So I'm on my way to try Pykota (pykota.com/software/pykota). Just in case you didn't know about it...
– user94972
Dec 15 '14 at 10:21




I'm also trying to do that, and from what I understand quota per user is not achievable natively. So I'm on my way to try Pykota (pykota.com/software/pykota). Just in case you didn't know about it...
– user94972
Dec 15 '14 at 10:21










1 Answer
1






active

oldest

votes

















up vote
0
down vote













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.





share|improve this answer




















  • I already tried -U username but nothing changed. This link says "CUPS supports page and size-based quotas for each printer. The quotas are tracked individually for each user, but a single set of limits applies to all users for a particular printer. For example, you can limit every user to 5 pages per day on an expensive printer, but you cannot limit every user except Johnny." cups.org/documentation.php/doc-1.7/…
    – ibasaran
    Feb 23 '14 at 14:26











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f116284%2fhow-can-i-determine-user-base-page-limit-for-a-printer%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













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.





share|improve this answer




















  • I already tried -U username but nothing changed. This link says "CUPS supports page and size-based quotas for each printer. The quotas are tracked individually for each user, but a single set of limits applies to all users for a particular printer. For example, you can limit every user to 5 pages per day on an expensive printer, but you cannot limit every user except Johnny." cups.org/documentation.php/doc-1.7/…
    – ibasaran
    Feb 23 '14 at 14:26















up vote
0
down vote













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.





share|improve this answer




















  • I already tried -U username but nothing changed. This link says "CUPS supports page and size-based quotas for each printer. The quotas are tracked individually for each user, but a single set of limits applies to all users for a particular printer. For example, you can limit every user to 5 pages per day on an expensive printer, but you cannot limit every user except Johnny." cups.org/documentation.php/doc-1.7/…
    – ibasaran
    Feb 23 '14 at 14:26













up vote
0
down vote










up vote
0
down vote









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.





share|improve this answer












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.






share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 21 '14 at 23:50









Ketan

5,43942741




5,43942741











  • I already tried -U username but nothing changed. This link says "CUPS supports page and size-based quotas for each printer. The quotas are tracked individually for each user, but a single set of limits applies to all users for a particular printer. For example, you can limit every user to 5 pages per day on an expensive printer, but you cannot limit every user except Johnny." cups.org/documentation.php/doc-1.7/…
    – ibasaran
    Feb 23 '14 at 14:26

















  • I already tried -U username but nothing changed. This link says "CUPS supports page and size-based quotas for each printer. The quotas are tracked individually for each user, but a single set of limits applies to all users for a particular printer. For example, you can limit every user to 5 pages per day on an expensive printer, but you cannot limit every user except Johnny." cups.org/documentation.php/doc-1.7/…
    – ibasaran
    Feb 23 '14 at 14:26
















I already tried -U username but nothing changed. This link says "CUPS supports page and size-based quotas for each printer. The quotas are tracked individually for each user, but a single set of limits applies to all users for a particular printer. For example, you can limit every user to 5 pages per day on an expensive printer, but you cannot limit every user except Johnny." cups.org/documentation.php/doc-1.7/…
– ibasaran
Feb 23 '14 at 14:26





I already tried -U username but nothing changed. This link says "CUPS supports page and size-based quotas for each printer. The quotas are tracked individually for each user, but a single set of limits applies to all users for a particular printer. For example, you can limit every user to 5 pages per day on an expensive printer, but you cannot limit every user except Johnny." cups.org/documentation.php/doc-1.7/…
– ibasaran
Feb 23 '14 at 14:26


















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f116284%2fhow-can-i-determine-user-base-page-limit-for-a-printer%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay