IT/Software/Networking/PrinterSharing: Difference between revisions
Walttheboss (talk | contribs) No edit summary |
Walttheboss (talk | contribs) No edit summary |
||
Line 14: | Line 14: | ||
in /etc/cups/cupsd.conf you need to allow browsing | in /etc/cups/cupsd.conf you need to allow browsing | ||
First look for the line: | First look for the line: | ||
<code> Browsing Off</code> | |||
Change that line to: | Change that line to: | ||
<code> Browsing On</code> | |||
===Share a printer so that Windows clients can see and print.=== | ===Share a printer so that Windows clients can see and print.=== |
Revision as of 08:00, 15 September 2021
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
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