Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-09-2004, 04:04 AM
|
#1
|
LQ Newbie
Registered: Apr 2004
Posts: 2
Rep:
|
How do I start a "not ready" cups printer ?
I write an maintain Business Basic applications running on flavours of unix. We have recently migrated some of our clients to Feodora and configured the printers under cups. When a printer runs out of paper and goes into a "not ready" state, how do you make it "ready" again ! Being a complete linux novice ( my linux support techie is on hols ) I thought i would try lpc start <printer name > but just got the reply start not supported under cups of words to that effect - can anyone help me ! ?
|
|
|
Click here to see the post LQ members have rated as the most helpful post in this thread.
|
04-09-2004, 04:15 AM
|
#2
|
Member
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403
Rep:
|
try using some browser to connect to http://<pc with cups>:631. this is a webinterface for cups.
greetz,
-= iluvatar =-
|
|
|
04-10-2004, 01:12 AM
|
#3
|
LQ Newbie
Registered: Apr 2004
Posts: 2
Original Poster
Rep:
|
Quote:
Originally posted by iluvatar
try using some browser to connect to http://<pc with cups>:631. this is a webinterface for cups.
greetz,
-= iluvatar =-
|
thanks for the swift reply, but this doesn't give me the solution ! I am accessing this machine through an Intel VPN tunnel which gives me precious little ability other than the use of my telnet client ( Anzio ) - sorry to be "old fashioned", but I am searching for the ACTUAL COMMAND/S that I can type in in the absence of remote browser access
|
|
|
07-26-2009, 08:01 PM
|
#4
|
LQ Newbie
Registered: Jul 2009
Posts: 1
Rep:
|
This has been a lonely question at the top of the Google search for years. I happened to stumble across the answer today.
Yes, the web link to localhost:631 worked great for me. I happen to have CUPS 1.3.11 on Debian, and the Printers tab has a "Start Printer" or "Stop Printer" button depending if the printer is currently running or not. It worked great, but it was hiding the command line equivalent.
I happen to have a copy of the CUPS book, and it mentions two commands, viz:
/usr/bin/enable <name>
and
/usr/bin/disable <name>
to start and stop printer queues. Alas, Debian does not have enable/disable commands that I could find. I did a little more digging, and an "apropos cups" command (part of the "man" facility) showed a lot of commands related to CUPS. In particular, I spotted "/usr/sbin/cupsenable" and "/usr/sbin/cupsdisable". Sure enough, on Debian CUPS, these are the command line versions to enable and disable printer queues.
Best regards,
Lester
|
|
4 members found this post helpful.
|
04-17-2010, 09:37 PM
|
#5
|
LQ Newbie
Registered: Apr 2010
Posts: 1
Rep:
|
Thank you
I registered to this site to thank you, tangoholic. You really saved the day with this post. Thank you!!!!
|
|
|
06-04-2012, 04:11 PM
|
#6
|
LQ Newbie
Registered: Jan 2007
Posts: 8
Rep:
|
"/usr/sbin/cupsenable" and "/usr/sbin/cupsdisable". Sure enough, on Debian CUPS, these are the command line versions to enable and disable printer queues.
Works on Fedora 14 also.
Thank you! Thought i had lost the use of my printer until the next reboot just because i tried to print when it was off.
Last edited by eaberry; 06-04-2012 at 04:13 PM.
Reason: typo
|
|
1 members found this post helpful.
|
06-05-2012, 12:48 AM
|
#7
|
Member
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Rep:
|
Quote:
Originally Posted by eaberry
"/usr/sbin/cupsenable" and "/usr/sbin/cupsdisable". Sure enough, on Debian CUPS, these are the command line versions to enable and disable printer queues.
Works on Fedora 14 also.
Thank you! Thought i had lost the use of my printer until the next reboot just because i tried to print when it was off.
|
or this one
service cups restart
|
|
|
All times are GMT -5. The time now is 09:01 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|