nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Ubuntu Linux: How do I setup print quotas?

This is a discussion on Ubuntu Linux: How do I setup print quotas? within the Linux software forums, part of the Linux Getting Started category; Hi! Does anyone know how to setup print quotas under Ubuntu Linux? I am using HP laserjet printer. I am ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 07-06-2006, 01:36 PM
Junior Member
User
 
Join Date: Jul 2006
Posts: 6
Rep Power: 0
cityblogger
Default Ubuntu Linux: How do I setup print quotas?

Hi!

Does anyone know how to setup print quotas under Ubuntu Linux?

I am using HP laserjet printer. I am not able locate or find out any option offered by GUI tools.

I’d appreciate if someone point out me configuration option or Linux command that allows to put restrict page count over a specified time.

Regards
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-06-2006, 06:11 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,061
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

I am not sure about GUI tools. But you can setup printer quota by modifying the /etc/cups/printers.conf using vi text editor.

Code:
vi /etc/cups/printers.conf
Since you are using Ubuntu Linux, use any one of the following sudo command:
Code:
sudo vi /etc/cups/printers.conf
If you are using GUI:
Code:
sudo gedit /etc/cups/printers.conf
Now look for QuotaPeriod and PageLimit directives. Set up them as per your requirements:
=> PageLimit 20 – Set 20 page count limit for QuotaPeriod seconds
=> QuotaPeriod 86400 – 1 day limit (expressed in second
=> KLimit 50000 – Printer allowed to get 50000 kbytes only

So add above directives:
Code:
PageLimit 20
QuotaPeriod 86400
KLimit 50000
So, above directives will apply 20 pages per day limit. Restart the service:
Code:
sudo /etc/init.d/cups restart
HTH.
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Ubuntu 7.04 doesn´t print with HP K550 printer latest firmware joaquinnegrete Linux hardware 0 06-13-2007 06:31 PM
Load balancing pooling print jobs using CUPS print queues raj Getting started tutorials 0 01-16-2007 10:08 PM
Configuring disk quotas on Fedora Linux chimu Linux software 2 12-26-2006 11:18 AM
Ubuntu Linux firefox flash setup how to chiku Linux software 1 09-18-2006 10:07 PM
Ubuntu Linux setup and configure a domain name server - BIND tom Getting started tutorials 1 08-10-2006 06:20 PM


All times are GMT +5.5. The time now is 01:58 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36