Setup Network Printers in Ubuntu 11.04 Natty Narwhal 9

For users with both Windows and Ubuntu machines and a single printer, this blog post is going to show you how to share a printer in Windows and allow Ubuntu machines to printer to it.

Almost all printers support Windows by default. Printer manufactures are building printers for Windows and not many are doing it for Linux systems, including Ubuntu. So, if you have a printer with full Windows support, you can share it from the Windows machine and allow other systems to print to it.

I ran into this problem few years go when most printers didn’t support Linux systems. I had an older printer which was designed specifically for Windows and Mac OS X with no support for Linux.

I installed the printer driver on my Windows machine and it worked great. My Windows machine was printing just fine, but couldn’t get the Ubuntu machine to because the printer didn’t support LAN.

So, I shared the printer from Windows and my Ubuntu machine was printing properly with the correct fonts and style. If you find yourself in similar situation, follow the guide below to do the same.

First, logon to Windows and right-click the printer you wish to share and click ‘Printer properties’




Next, select the ‘Sharing’ tab and check the ‘Share this printer’ box to share the printer. Remember the shared name because you’ll connect using that shared name.




Finally, open the commands prompt as administrator and run the commands below to enable file and printer sharing through the firewall.

netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes


Next, logon to Ubuntu and select the gear on the panel at the top right and select System Settings…

When System Settings opens, select Printers. The add a printer. When prompted to select a device, choose ‘ Windows Printer via SAMBA’.




Enter the Windows computer IP address or hostname followed by the printer shared name. You may also have to enter your windows account credentials (username and password). Click Browse to verify that you can see the printer and when you’re done, click Forward to continue.

Next, select the printer brand and model. If you don’t see the particular model, choose the next closest to it and continue.




If everything is done correctly, you should have a printer installed and ready to use.





Please share if you like it on:

Leave a Comment

Your email address will not be published. Required fields are marked *

9 thoughts on “Setup Network Printers in Ubuntu 11.04 Natty Narwhal

  • Nyannaco

    The happily added printer is not actually ‘connected’. In fact validation fails; you can’t even see its properties from an Ubuntu machine, although it does appear as a shared resource.

  • Tim

    Nyannaco’s right, I tried doing this and while it looks set up from the settings page, printing doesn’t do anything at all.

  • Jônatas Jacob

    My samba is working very well, I can access shared folder and files. But I can’t install windows printers using samba in ‘printing’, on ‘system settings’… In the new printer list don’t have samba option. Do you have any idea what I have to do?

  • David Barry

    “Shared printers are not available to other people unless the ‘Publish shared printers’ option is enabled in the server settings.”

    Where are the server settings for printers in 11.04? I can not publish the printer connected to the 11.04 machine to be seen on the network by the other computers. There is no tab or menu selection in the printer settings dialog for server settings like there were in lucid.

    • Eric Landerville

      You have to mouse over the “Printers” in the top menu bar, then the rest of the menu selections (of which server is one) will appear.

  • Mint Admin

    CUPS server error – client-error-not-possible – do not wish to use SMB because Canon has its own scanner and printer drivers, and under other Linux releases it connects and works perfectly well. Therefore it must work perfectly well under Lubuntu. If not, change Lubuntu.