CUPS Enable Printer From Command Line

Home » CentOS » CUPS Enable Printer From Command Line
CentOS 2 Comments

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????

pd: excuse me my inglish (I speak spanish)
Thanks


*Atte. Rodrigo Pichiñual N.*
*Ingeniero Informático*
*rodrigo.pichinual@gmail.com *
*+56 9 87272971*

2 thoughts on - CUPS Enable Printer From Command Line

  • 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 or cupsdisable


    —~~.~~—
    Mike
    // SilverTip257 //