IT/Software/Networking/PrinterSharing: Difference between revisions
Walttheboss (talk | contribs) No edit summary |
Walttheboss (talk | contribs) |
||
Line 1: | Line 1: | ||
=== Notes: === | ===Notes:=== | ||
This seems to never be completely clear. Just keep trying. | This seems to never be completely clear. Just keep trying. | ||
Line 6: | Line 6: | ||
Other times you might as well start fasting and praying. | Other times you might as well start fasting and praying. | ||
=== Sharing tweaks on the Ubuntu network === | ===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. | 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. | ||
Line 19: | Line 19: | ||
Change that line to: | Change that line to: | ||
<code> Browsing On</code> | <code> Browsing On</code> | ||
==== 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. | |||
===Share a printer so that Windows clients can see and print.=== | ===Share a printer so that Windows clients can see and print.=== |
Latest revision as of 10:47, 30 August 2022
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