Pages

Thursday, September 22, 2011

Share a printer from Ubuntu to Windows

You can share your Ubuntu computer printer to Windows XP, Windows Vista, and Windows 2000 computers.Before continuing, be sure that Samba is installed and configured properly. This will ensure that all computers on your network can communicate and share printer(s).
1) Make sure your printer is installed.
2) Open the Printing window (System -> Administration -> Printing).
3) Click Server Settings in the list of printers (Server -> Settings).
4) Check the box that reads, "Publish shared printers connected to this system" and then click the OK button.
5) In the list of printers, right-click the printer you want to share and then select Properties.
6) Click on Policies and make sure all three check boxes (Enabled, Accepting jobs, and Shared) are checked.
7) Click the OK button in the lower-right corner of the window.
8) If you have a firewall enabled on the Ubuntu box you will need to allow connections from the Windows machine on port 631.

On the Windows machine

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 host name 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 web browser 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 mentioned above and follow the steps in Windows printer wizard to complete the installation.


No comments:

Post a Comment