My printer is HP laser jet pro p1102. It is a share printer. When I try to print this error message pops up
Unable to connect to CIFS host
Try this:
Remove printer added via ---- System Settings
--- Printers
Open a terminal. (Ctrl+Alt+T).
Run it:
$ sudo -i
# apt-get update
# apt-get install --reinstall cups cups-browsed cups-bsd cups-client printer-driver-hpcups printer-driver-hpijs hplip sane-utils xsane libcups2 cups-client python3-dbus python3-notify2 python3-imaging python3-pyqt4 gtk2-engines-pixbuf python3-lxml libsane
# usermod -a -G lp $USER
# hp-setup
Select the printer connection type.
Select the Printer to be Configured, setup tool will display printers detected.
Select the PPD file or driver to be Used for Your Printer, usually you will want to select the recommended.
Maybe this will help someone having the same issue:
I had the same error message when trying to access the printer with its IP-Address. When I used the hostname, it worked.
--->
This did not work:
smb://192.168.0.77/Printer-Name
Then I found out the Hostname with nslookup
:
$ nslookup 192.168.0.77
[...] name=printerhost.local
This worked:
smb://printerhost.local/Printer-Name