How to Share a Windows Printer with Ubuntu
Sharing a Windows printer with an Ubuntu computer provides a massive advantage and will of course save money on the potential outlay on a second printer for the Ubuntu machine. This tutorial has been written using Windows 7 and Ubuntu 10.10.
To get started with this, begin by clicking Start on your Windows 7 computer and searching for “network and sharing". In the results you should spot Network and Sharing Center, so click on this to open and then in the left-hand pane select Change advanced sharing settings. In the new screen, expand your network type and select Turn on file and printer sharing.
Finish by clicking the Save changes button.
Next, switch to your Ubuntu computer and click the power button next to the clock, selecting System Settings > Hardware > Printing. Here you can add a new printer using the Add button, so expand Network Printer and select Find Network Printer. In the resulting search box, enter the name of the Windows 7 computer that your printer is attached to (you can find the name of the Windows 7 computer by hopping back over to it, opening Start, right-clicking Computer and selecting Properties (you should see the computer name listed).
Ubuntu will then ask you to authenticate the connection to the Windows computer, which you must do by entering your username and password. After this, the printer should be displayed under Network Printer, and its name/path displayed under SMB Printer.
Click Forward to continue and then select the make and model of your printer, clicking Forward again until the done; you may get the option to print a test page, which you should do. You will then be able to view the printer in System > Administration > Printing, and print to it from any appropriate application!
If you experience any problems, try restarting both printer and Ubuntu computer.