Re: CUPS Enable printer from command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Oct 2, 2014 at 11:12 AM, Rodrigo Pichiñual Norin <
rodrigo.pichinual@xxxxxxxxx> 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@xxxxxxxxx <rodrigo.pichinual@xxxxxxxxx>*
> *+56 9 87272971*
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux