LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Start and stop pinter on fedora 8 (https://www.linuxquestions.org/questions/linux-newbie-8/start-and-stop-pinter-on-fedora-8-a-626940/)

maal 03-10-2008 05:17 AM

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

Lenard 03-10-2008 07:25 AM

As root or equivalent type: service cups stop[start][restart]

maal 03-10-2008 10:51 AM

Quote:

Originally Posted by Lenard (Post 3083824)
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.

maal 03-11-2008 11:43 AM

I find a way.

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

Thanks to all


All times are GMT -5. The time now is 11:57 PM.