cupsenable – Enable the specified printer

The cupsenable command is used to enable a printer that has been disabled in the Common Unix Printing System (CUPS). When a printer is disabled, it means that it cannot accept any print jobs. This command is useful when troubleshooting issues with a printer that is not accepting print jobs.


The syntax for the cupsenable command is as follows:

cupsenable [OPTIONS] printer

Where printer is the name of the printer that needs to be enabled.

To enable a printer, simply run the cupsenable command followed by the name of the printer. For example, to enable a printer named “HP_LaserJet”, run the following command:

cupsenable HP_LaserJet

If the printer was successfully enabled, the command will not produce any output. However, if an error occurs, the command will display an error message.


The following table lists the available options for the cupsenable command:

Option Description
-E Forces encryption when connecting to the CUPS server.
-U username Specifies the username to use when connecting to the CUPS server.
-h server Specifies the hostname or IP address of the CUPS server.
-p port Specifies the port number to use when connecting to the CUPS server.

Troubleshooting Tips

If the cupsenable command fails to enable the printer, try the following troubleshooting tips:

  • Ensure that the printer is connected to the computer and turned on.
  • Check that the printer is configured correctly in CUPS.
  • Verify that the printer is not out of paper or toner.
  • Restart the CUPS service using the systemctl restart cups command.


  • The cupsenable command only works for printers that are managed by CUPS.
  • This command must be run with superuser privileges (i.e., using sudo).
  • If a printer is already enabled, running the cupsenable command will not produce any output.