Can't install printer, cups problem?

I had exactly the same problem and this worked for me:

sudo apt-get install cups --reinstall
sudo service cups restart

I met similar situation today and found this solution to be useful:

sudo apt-get install smbclient

refer_link


I had the same issue with my Canon MG8250 on a fresh Ubuntu 18.04

Using the cups web-interface enabled me to add the printer.

  1. open a browser and got to http://localhost:631/ . You will get a website Home - CUPS x.x.x
  2. Select "Adding Printers and Classes"
  3. Button "Add Printer"

At one point you will be asked for your user and password.