Linux - NewbieThis 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.
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.
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.
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
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.
"/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
"/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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.