CUPS "client-error-not-possible"

I have a network printer and my machine recently stopped being able to print, other machines can print fine. Besides having to use root to change its settings, when I try to change its settings I get the following error:

CUPS "client-error-not-possible".

Many forum threads suggest installing smbclient to solve the issue, but I already have it installed.


Installing samba, smbclient and running

sudo sed -i '/^\[global]/aclient max protocol = SMB3' /etc/samba/smb.conf

did the trick. Not sure if the last part is necessary though.


My issue was having entered lpd://printer.printland.com instead of just printer.printland.com in the Host field of gnome-printer-config.


On Ubuntu 19.04, installing the smbclient solves the problem. So, open a terminal and run the following command :

sudo apt-get install smbclient