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











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

524k12610471577




524k12610471577










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: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
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















Required, but never shown

























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,75842742




5,75842742












  • 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




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




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















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

サソリ

広島県道265号伴広島線

Setup Asymptote in Texstudio