Anyone who utilizes multiple computers in a network with a single printer knows the importance of being able to share resources. In a previous tutorial, we explained How to Access Windows 7 Shared Folders from Ubuntu. However, the sharing doesn't stop there. This tutorial will show how to access from Ubuntu printers that are shared from another Windows computer.
NOTE: Article updated to work on Ubuntu v10.10 & 11.04.
In order for Ubuntu and Windows 7 to share printers, they have to be configured to be in the same Workgroup.
To change your Windows 7 workgroup, see: How to Change the Workgroup in Windows 7.
To change your Ubuntu workgroup, see: How to Enable File Sharing & Change the Workgroup in Ubuntu Linux.
Once the Workgroup is set up to be the same on both computers, proceed to step 2 to share your printer.
Next, you'll need to configure the printer to be shared on the network. To do this, please see: How to Share a Printer on Your Network.
From your main panel, go to 'System -> Administration -> Printing' to open the printer configuration manager.

In this window you can see all the printers installed your computer and the other computers on your network.

Right-click on the network printer that you want to access and from the menu select Properties.

In the Printer Properties window, if the Make and Model of the printer is listed as Local Raw Printer, you need to install drivers for that printer. Click on the corresponding Change button to access the Change Driver window.
Note: If the Make and Model of the printer is correct, you can skip the next steps, because the printer will work from Ubuntu.

In the Change Driver window search the manufacturer of the printer you want to access and select it. In our example, it is HP. Then click on Forward.

Now search and select the correct model of the printer. Ours is a Photosmart C5200. If you have to choose between multiple drivers, select the one with ’cups’ in its name (these drivers should work better on Linux, CUPS meaning Common Unix Printing System). Click Forward to proceed.

In the next window you are asked if you want to transfer the current settings. Because the printer is not yet installed there are no settings to transfer, therefore, select Use the new PPD (Postscript Printer Description) as is and click on Forward.

The final step is choosing which additional options to install. These options depend on the printer model, in our example we can only install the Duplexer, a feature that allows printing on both sides of a paper. Choose the options that you want to install and click on Apply.

Now, in the Printer Properties window, the Make and Model field shows the printer correctly identified. Finally, to test the printer, click the Print Test Page button.

You are informed that the test page was submitted. Click on OK and then close the Printer Properties window if all is good.

As you can see, accessing a shared printer on a network is reasonably easy to do with Ubuntu. If you have any tips for printer sharing or advanced usage of shared printers between Ubuntu and Windows 7, feel free to leave a comment. You may also want to review the articles below that can further explain the operation capabilities between Windows and Ubuntu on a network.
How to Share a Printer with Your Network
How to Enable File Sharing & Change the Workgroup in Ubuntu Linux
How to Access Windows 7 Shared Folders from Ubuntu
How to Share Folders in Ubuntu & Access them from Windows 7
Connect to a Windows Desktop from Ubuntu via Remote Desktop Connection
Comments
This did not work for me.
This did not work for me. Printer on the Win7 machine is setup to share, and works fine with WinXP. Once again, Linux is epic fail.
It worled for me until a few
It worled for me until a few days ago and then stopped.
Never had a problem when the server was running XP. Now it keeps prompting for user name and password and will not accept any.
It doesn't work at all. It's
It doesn't work at all.
It's always asking for a password. But even when I supply a pwd with a valid user account it's still refusing even to list the shared printers.
I read elsewhere that there
I read elsewhere that there was a problem with Win7 changing the SMB protocol packets with one of the Windows Live Messenger updates. With this update, MS networking started sending multiple records where previously it only ever sent just one (the exact details elude my memory). SAMBA could not cope with the change in record format.
I saw evidence of the SAMBA guys working on this problem. I would have thought that would have filtered through by now, but I STILL cannot log in to the Win7 PC from my Ubuntu 10.04 system. Maybe its fixed in a later release, but it really ought to be fixed in the LTS version too.
This is a SAMBA problem and not a Linux one. And furthermore, it happened when MICROSOFT changed something, so I don't think it is really fair to lay it at the door of Linux.
Don't work on Ubuntu 10.10
Don't work on Ubuntu 10.10
We will update this in the
We will update this in the coming weeks so that we cover Ubuntu 10.10.
I will wait for, thnx i have
I will wait for, thnx
i have my site http://admin-vestnik.ru in Russian Language and i want write a post about this, and i can link for your site/post
totally agree with Andy. That
totally agree with Andy. That’s what I’ve been doing for the past 2 years. It dosen’t matter where you buy the inks from, be sure to check out their guarantee and stock up accordingly to your needs.
Add new comment