[CentOS] CUPS Enable printer from command line

Sat Oct 4 03:26:44 UTC 2014
SilverTip257 <silvertip257 at gmail.com>

On Thu, Oct 2, 2014 at 11:12 AM, Rodrigo Pichiñual Norin <
rodrigo.pichinual at gmail.com> wrote:

> Hi all:
>
> I am investigating about Common Unix Printing System (CUPS).but, I have one
> doubt, when I execute the command "lpc status" , the output it's :
> for example:
> Printer-one:
> printer is on device 'lpd' speed -1
> queuing is enabled
> printing is disabled
> 10 entries
> daemon present
>
> so the status the printer it's "DISABLED",
> I changed in the file /etc/cups/printers.conf the param "State stopped" by
> "State Idle" and then it's worked.
> My question it's, exist any command for enable printer in status disabled
> without modify the file printers.conf????
>

First off, hopefully you can determine why your printer became disabled
(paper jam?).
Next, figure out what the printer name is via lpstat.  You might also
inspect the queues to determine if you need to delete any print jobs.
>From there you can enable or disable via cupsenable <lp_name> or
cupsdisable <lp_name>


>
>
> pd: excuse me my inglish (I  speak spanish)
> Thanks
>
> --
> *Atte. Rodrigo Pichiñual N.*
> *Ingeniero Informático*
> *rodrigo.pichinual at gmail.com <rodrigo.pichinual at gmail.com>*
> *+56 9 87272971*
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //