IT/Software/Networking/PrinterSharing: Difference between revisions

From msgwiki
< IT‎ | Software‎ | Networking
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
(Created page with " === Share a printer so that Windows clients can see and print. === You need to have samba installed. CUPS will handle this almost automatically. You need to make two sm...")
 
No edit summary
Line 1: Line 1:
=== 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.


=== Share a printer so that Windows clients can see and print. ===
=== 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. [https://www.techrepublic.com/article/how-to-configure-a-print-server-with-ubuntu-server-cups-and-bonjour/ TechRepublic]
 
in /etc/cups/cupsd.conf you need to allow browsing
 
 
First look for the line:
Browsing Off
Change that line to:
Browsing On
 
===Share a printer so that Windows clients can see and print.===





Revision as of 07:59, 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

Share a printer so that Windows clients can see and print.

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