Technology Questions

Go Back   Technology Questions > Manufacturer Questions > Manufacturers > Apple > Apple Macintosh Hardware

Apple Macintosh Hardware Discuss the Apple Macintosh Hardware

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 02-06-2007, 04:09 PM
Philipp E. Imhof
Newsgroup Contributor
 
Posts: n/a
CUPS: job-page-limit / job-quota-period

Hi!

I am trying to restrict printing access on a computer.

# lpadmin -p lp0 -u deny:guest

works fine and /etc/cups/printers.conf is altered.

Unfortunately, quotas do not seem to work

# lpadmin -p lp0 -o job-page-limit=5 -o job-quota-period=3600

runs for 1-2 seconds and quits without error. However, /etc/cups
printers.conf is not changed and so the setting does not have any
effects.

Is this a known bug? Is there a workaround or an update?

PS: I tried to change the configuration file manually, but then it
did not work, even after a restart of the printing service.

Any help is greatly apreciated.

Regards

Philipp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 02-06-2007, 04:09 PM
  #2 (permalink)  
Old 02-06-2007, 04:09 PM
Tom Stiller
Newsgroup Contributor
 
Posts: n/a
Re: CUPS: job-page-limit / job-quota-period

In article <brpttb$i5t$1@newshispeed.ch>,
"Philipp E. Imhof" <no_spam_here@fippu.ch> wrote:

> Hi!
>
> I am trying to restrict printing access on a computer.
>
> # lpadmin -p lp0 -u deny:guest
>
> works fine and /etc/cups/printers.conf is altered.
>
> Unfortunately, quotas do not seem to work
>
> # lpadmin -p lp0 -o job-page-limit=5 -o=3600
>
> runs for 1-2 seconds and quits without error. However, /etc/cups
> printers.conf is not changed and so the setting does not have any
> effects.
>
> Is this a known bug? Is there a workaround or an update?


Are the job-page-limit and job-quota-period PPD options supported for
that printer? PPD options can be listed using the -l option with the
lpoptions(1) command.
>
> PS: I tried to change the configuration file manually, but then it
> did not work, even after a restart of the printing service.
>
> Any help is greatly apreciated.
>
> Regards
>
> Philipp


--
Tom Stiller

PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3
7BDA 71ED 6496 99C0 C7CF
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 02-06-2007, 04:09 PM
Philipp E. Imhof
Newsgroup Contributor
 
Posts: n/a
Re: CUPS: job-page-limit / job-quota-period

Tom Stiller wrote:

> Are the job-page-limit and job-quota-period PPD options supported
> for that printer? PPD options can be listed using the -l option
> with the lpoptions(1) command.


I will check that tomorrow at work. But shouldn't those be general
options? On my linux box, they are not listet in

# lpoptions -l

eventhough they work fine.

More about it tomorrow...

Regards

--
In the beginning was the word, and the word was content-type: text
plain

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

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
Limit on the page file segment size? Boon Windows XP 14 02-03-2008 11:10 AM
Is it possible to limit an applications memory limit? RS Windows XP 0 11-30-2007 06:30 PM
cups:/usr/lib/cups/backend/http failed heavytull Linux 7 09-27-2007 03:10 AM
IE7 Multiple Home Page Limit Sensei Internet Explorer 2 05-06-2007 12:06 PM
cups device URI heavytull Linux 0 05-06-2007 12:11 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 10:46 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0