* Laurentiu Vasiescu <[EMAIL PROTECTED]> [18-10-05 14:49]: > Hello, > > Exista posibilitatea limitarii numarului de pagini printate la 20/job? > Eventual cu posibilitatea ca un anumit user sa nu aibe limitarea > aceasta. > merci! :)
[quote] Setting Quotas on a Printer 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 partiuclar 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. The job-k-limit, job-page-limit, and job-quota-peiod options determine whether and how quotas are enforced for a printer. The job-quota-period option determines the time interval for quota tracking. The interval is expressed in seconds, so a day is 86,400, a week is 604,800 and a month is 2,592,000 seconds. The job-k-limit option specifies the job size limit in killobytes. The job-page-limit option specifies the number of pages limit. For quotas to be enforced, the period and at least one of the limits must be set to a non-zero value. The following options will enable quotas: /usr/sbin/lpadmin -p printer -o job-quota-period=604800 \ -o job-k-limit=1024 ENTER /usr/sbin/lpadmin -p printer -o job-quota-period=604800 \ -o job-page-limit=100 ENTER Or, you can combine all three options on the same line. [/quote] mitu _______________________________________________ RLUG mailing list RLUG@lists.lug.ro http://lists.lug.ro/mailman/listinfo/rlug