IT/Software/Networking/PrinterSharing
Notes:
This seems to never be completely clear. Just keep trying.
Sometimes it all works out of the box.
Other times you might as well start fasting and praying.
Sharing tweaks on the Ubuntu network
Usually if you add a printer to a machine via usb and then select "share this printer" or "share printers connected to this system" it will just work.
If not there are a few tweaks you can make.
Here are some helps. TechRepublic
in /etc/cups/cupsd.conf you need to allow browsing
First look for the line:
Browsing Off
Change that line to:
Browsing On
NOT Seeing network Printers
Sometimes you do NOT want to see all the printers on the network.
In /etc/cups/cups-browsed-conf
change BrowseRemoteProtocols to "none"
Restart cups.
You need to have samba installed.
CUPS will handle this almost automatically.
You need to make two small chnage to the /etc/samba/smb.conf file.
In the [printers] section:
browseable = yes guest ok = yes
When done, restart Samba:
sudo service smbd restart sudo service nmbd restart
Also, one would want to allow the following ports through a firewall (ufw for example) via:
sudo ufw allow 139/tcp sudo ufw allow 445/tcp sudo ufw allow 137/udp sudo ufw allow 138/udp