LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 03-10-2008, 05:17 AM   #1
maal
LQ Newbie
 
Registered: Apr 2006
Location: Lisbon (PT)
Distribution: Fedora Core 6 - Fedora 8
Posts: 23

Rep: Reputation: 15
Start and stop pinter on fedora 8


Hi, i need enable and disable printers on fedora 8, by command line.
By cups is simple.

Thanks in avance.
Maal
 
Old 03-10-2008, 07:25 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
As root or equivalent type: service cups stop[start][restart]
 
Old 03-10-2008, 10:51 AM   #3
maal
LQ Newbie
 
Registered: Apr 2006
Location: Lisbon (PT)
Distribution: Fedora Core 6 - Fedora 8
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Lenard View Post
As root or equivalent type: service cups stop[start][restart]
Thanks, for reply.

This stops servidor, not the printer.
What a whant is something like enable/disable printer like SCO Unix.
 
Old 03-11-2008, 11:43 AM   #4
maal
LQ Newbie
 
Registered: Apr 2006
Location: Lisbon (PT)
Distribution: Fedora Core 6 - Fedora 8
Posts: 23

Original Poster
Rep: Reputation: 15
I find a way.

cupsdisable, cupsenable - stop/start printers and classes
Synopsis
cupsdisable [ -E ] [-U username ] [ -c ] [ -h server[ort] ] [ -r reason ] destination(s)
cupsenable [ -E ] [-U username ] [ -c ] [ -h server[ort] ] destination(s)

Thanks to all
 
  


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
Computer doesn't start; fans start then stop; 1 long, 1 short beep PatrickMay16 General 18 09-26-2007 07:48 PM
Start/Stop Services Verbal Kint Linux - General 4 06-21-2007 06:56 AM
Pinter OKI C5100 novis Linux - Hardware 3 12-04-2006 08:51 AM
modem lights start/stop commands for fedora c2 vance Linux - Networking 0 05-24-2004 12:11 PM
Start/stop services on start-up koyi Slackware 5 08-04-2003 08:20 AM


All times are GMT -5. The time now is 03:45 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration