Print from XP to a Printer Attached to Ubuntu Gutsy or Hardy
By following these steps, you will be able to share a printer from your Ubuntu computer so that Windows XP and Windows 2000 computers can print to it.
1) Make sure your printer is installed.
2) Open the Printing window (System -> Administration -> Printing).
3) Click Server Settings in the list of printers.
4) To the right, under Basic Server Settings, check the box that reads, “Share published printers connected to this system”.
5) In the list of printers, click the printer you want to share.
6) Click in the Policies tab and make sure all three check boxes (Enabled, Accepting jobs, and Shared) are checked.
7) Click the Apply button in the lower-right corner of the window.
On the Windows machine:
1) Now add the printer to the Windows computer by using the Windows “Add Printer” Wizard. Select to connect a network printer and then select the option to connect a printer on the Internet or on a home or small office network. Type in the following for the printer URL:
http://<hostname>:631/printers/<printername>
Replace “<hostname>” with the hostname of the Ubuntu computer sharing the printer. It’s also possible to replace “<hostname>” with the IP address of the computer sharing the printer.
Replace “<printername>” with the name (exactly as displayed including displayed casing) that was shown in the Printers window you opened earlier on the Ubuntu machine. If you’re unsure about the exact printer name, you can use your webbrowser to open
http://<hostname>:631/printers/
That should show your printer in a webpage. Click on your printer link, and you should see the exact URL in your browser’s address bar. You can use that URL in the Windows setup mentionned above.
2) Windows will ask you to select a driver for the printer. If you have the Windows print drivers, you should use them. Click the “Have Disk” button and select the .inf file that describes your print drivers.
If you do not have the drivers for the printer or cannot load the .inf file, you should select the “MS Publisher Color Printer” driver from the “Generic” manufacturer. This driver should be found on all Windows 2000 and XP installations by default and it gives all the printing functionality one should need.







