Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


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

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.

Old 05-30-2010, 02:42 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,891

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Read this:

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.


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 > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:25 AM.

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