LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 04-18-2004, 11:18 AM   #1
comprei
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
restarting printer in cups


I'm running CUPS and Samba on my SuSE-Linux-box, acting as print- and file server. Printing works, but every once in a while the printer stops. So I have to go to //localhost:631/printers, log in as root and press the "Start Printer" button. Then, everything works fine again.

As I have no clue why the printer stops, I would like to write a script, that, say every 2 minutes, looks, if the printer is running, and then, if not, restarts the printer. Does anyone know the commands for looking, if the printer works, and for restarting it? ("rccups restart" doesn't work)

tia

peter!!!
 
  


Reply


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
Help printer from a samba shared printer from linux (using cups) epod69 Linux - Networking 3 12-04-2005 10:44 PM
CUPS Printer URL aeuzent Linux - Networking 2 09-15-2005 09:17 PM
My Printer and CUPS imagreg Slackware 6 01-10-2005 10:23 PM
parrellel printer in CUPS? No parellel printer option... servnov Linux - General 3 10-31-2004 02:08 PM
How to setup a printer in cups? cheater1034 Linux - Hardware 3 08-26-2004 05:21 PM


All times are GMT -5. The time now is 09:11 AM.

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