"browse" button disabled in "windows printer via samba" for printer shares

I had this same problem on an Arch Linux system. I solved it by installing python-pysmbc package. The equivalent package for ubuntu is "python-smbc". So just do:

sudo apt-get install python-smbc python3-smbc   

And you should be good to go. Restart "system-config-printer" to make sure the new dependencies get used.

Cheers!


I too installed python3-smbc and found that the browse button now stopped complaining about "Browsing requires pysmbc module" but it still could not find any shares until I entered the workgroup and host name manually, so it read "smb://workgroup/hostname". It then found the host and I could click on that to find the printer. I did not enter the shared printer name because it had spaces in it, which are not allowed.