LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 05-28-2010, 04:16 AM   #1
exactiv
Member
 
Registered: Nov 2008
Location: Ireland
Distribution: *nix
Posts: 40

Rep: Reputation: 15
Question CUPS printer offline - how do I bring it online?


Hi there,

I have a number of printers attached to my server. Once in a while, one of them goes offline. To get the printer working again I have to use printconf. In printconf, I select my printer, click edit, click done, click exit then I save my changes. When I'm back at a prompt the printer starts working again.

My question is this: printconf obviously re-initialises the printer. Is there a command I can run from the prompt to do the same?

Restarting CUPS doesn't work.

The reason for using a command rather than the printconf tool is that I want to script it so end users don't call me each time the printer stops working.

Thanks!
 
Old 05-30-2010, 02:42 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,783

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Read this: http://www.oit.uci.edu/dcslib/linux/...ve-config.html

1) In this article, the suggestion is made that you make a backup copy of your printconf file. It would be a simple matter to script the restoration of the printconf file.

2) The command you want is in the last sentence of the article.

Last edited by bigrigdriver; 05-30-2010 at 02:50 PM.
 
  


Reply

Tags
cups, offline, online, printer


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to bring my XAMPP server online? pcwillem Linux - Newbie 1 08-25-2005 07:20 PM
Not getting 'USER is online/offline message' anindyanuri LQ Suggestions & Feedback 4 03-20-2005 01:46 PM
YMessenger - online friends are shown offline Boby Linux - Software 3 02-15-2005 06:37 AM
Multiple copies when printer was offline (CUPS) herter Linux - Software 1 08-11-2004 05:36 AM
kde not starting when online. works offline. whansard Mandriva 1 08-01-2004 10:53 AM


All times are GMT -5. The time now is 10:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration