| Linux Forum Index » Linux Miscellaneous Topics » automatically limit pages on a print server... |
|
Page 1 of 1 |
|
| Author |
Message |
| Carl Lafferty... |
Posted: Fri Apr 24, 2009 12:07 pm |
|
|
|
Guest
|
I have built a Debian 5 install on an old machine I have laying around
work, and I want a free/cheap solution to my print server problem.
I have a print manager for Windows that will limit the number of pages
a person prints to X and denies over X. I want to do the same thing in
linux so that my staff does not have to approve every print job that
goes through the server.
I have spent the last 2 weeks looking for a solution in linux with
little success.
Currently I have cups installed and I have been trying to get pqadmin
module installed into webmin on the server but it keeps telling me that
I don't have printbill installed.. . I do have it installed.
Any help is appreciated. |
|
|
| Back to top |
|
|
|
| Lew Pitcher... |
Posted: Fri Apr 24, 2009 12:26 pm |
|
|
|
Guest
|
On April 24, 2009 14:07, in comp.os.linux, Carl Lafferty (carl at (no spam) netins.net)
wrote:
Quote: I have built a Debian 5 install on an old machine I have laying around
work, and I want a free/cheap solution to my print server problem.
I have a print manager for Windows that will limit the number of pages
a person prints to X and denies over X. I want to do the same thing in
linux so that my staff does not have to approve every print job that
goes through the server.
I have spent the last 2 weeks looking for a solution in linux with
little success.
man 1 lpadmin
look for the "-o job-page-limit=value" option
[snip]
--
Lew Pitcher
Master Codewright & JOAT-in-training | Registered Linux User #112576
http://pitcher.digitalfreehold.ca/ | GPG public key available by request
---------- Slackware - Because I know what I'm doing. ------ |
|
|
| Back to top |
|
|
|
| Lew Pitcher... |
Posted: Fri Apr 24, 2009 12:27 pm |
|
|
|
Guest
|
On April 24, 2009 14:26, in comp.os.linux, Lew Pitcher
(lpitcher at (no spam) teksavvy.com) wrote:
Quote: On April 24, 2009 14:07, in comp.os.linux, Carl Lafferty (carl at (no spam) netins.net)
wrote:
I have built a Debian 5 install on an old machine I have laying around
work, and I want a free/cheap solution to my print server problem.
I have a print manager for Windows that will limit the number of pages
a person prints to X and denies over X. I want to do the same thing in
linux so that my staff does not have to approve every print job that
goes through the server.
I have spent the last 2 weeks looking for a solution in linux with
little success.
man 1 lpadmin
Oops....
man 8 lpadmin
Quote: look for the "-o job-page-limit=value" option
[snip]
--
Lew Pitcher
Master Codewright & JOAT-in-training | Registered Linux User #112576
http://pitcher.digitalfreehold.ca/ | GPG public key available by request
---------- Slackware - Because I know what I'm doing. ------ |
|
|
| Back to top |
|
|
|
| Carl Lafferty... |
Posted: Fri Apr 24, 2009 9:49 pm |
|
|
|
Guest
|
Quote: look for the "-o job-page-limit=value" option
OK, I found it. thanks for the pointer. Never did much with printing
and linux till now.
I setup the printer and called it 'laser1'.
I issued the command
lpadmin -p laser1 -o job-page-limit=5
lpadmin responds .. well like any linux command that succeeds :)
However when I try to print to it from my windows box it just goes right
on and prints 7 pages when I tell it to stop at 5.
From my observations, cups knows only 2 things. 0 pages when it prints
and 1 page after it completes. and I wrong on this?? |
|
|
| Back to top |
|
|
|
|