# Samba share your printer on ubuntu 10.04

Linux @ 27 April 2013

This link was very helpful indeed.

ALso make your printer shared through System -> Administration -> Printing right click your printer and make it shared accordingly.

I printed documents via Win 7 starter through my Ubuntu desktop.


Another common use of Samba is to configure it to share printers installed, either locally or over the network, on an Ubuntu server. Similar to the section called “Samba File Server” this section will configure Samba to allow any client on the local network to use the installed printers without prompting for a username and password.

For a more secure configuration see the section called “Securing a Samba File and Print Server”.


Before installing and configuring Samba it is best to already have a working CUPS installation. See the section called “CUPS – Print Server” for details.

To install the samba package, from a terminal enter:

sudo apt-get install samba


After installing samba edit /etc/samba/smb.conf. Change the workgroup attribute to what is appropriate for your network, and change security to share:

   workgroup = EXAMPLE
   security = user

In the [printers] section change the guest ok option to yes:

   browsable = yes
   guest ok = yes

After editing smb.conf restart Samba:

sudo restart smbd
sudo restart nmbd

The default Samba configuration will automatically share any printers installed. Simply install the printer locally on your Windows clients.


On my 10.04 server I installed the printer drivers but now my 14.04 Laptop can not see the printer shared. So for my 14.04 I followed the steps told at http://ubuntuforums.org/showthread.php?t=1770014 My search term was Processing – Unable to connect to CIFS host, will retry in 60 seconds

Leave a Reply