How to print from a wireless Apple MacBook running OS X 10.4 (Tiger) to a shared printer on a Windows XP computer.
It’s hard to share printers on a network. Always has been, always will be. Of course, it should not be this way. Computers should be easy to use, and they have gotten easier through the years, but it puzzles me that something so simple is still so difficult.
In any event, here’s the scenario:
- You have a printer, perhaps an older printer. Said printer is connected to your Windows XP computer. You have given said computer a short name with no spaces and shared it. Other Windows computers on you network can happily print to it.
- You have a Mac. Perhaps connected to your network wirelessly. Perhaps you don’t like lugging a laser printer in your computer bag. Perhaps you don’t want a printer in every room in your house. Or cables strewn across the floor. So you have decided to try to print to the shared printer.
- You are completely insane. OK, maybe not completely insane. Maybe Apple is insane. Maybe it’s Microsoft. In any event, you think this will be easy. Bwah hah hah! Wrong.
- You Google for answers, disappointed at the shreds of information here and there that provide only pieces to the puzzle. Then you find this article. Your problems are solved.
First, in OS X, open System Preferences and select the “Print & Fax” option. Click the “+” button to add a new printer. As you mouse-over the button, the words “Click here to add a printer” will display. (Hmm, hidden options. I sense foreshadowing.)
Next, from the “Printer Browser” window, click on the “More Printers…” button. (Note that “more” also means “more than zero”.)
From the first pop-up menu, select the “Windows Printing” option. From the second pop-up menu, select the “Workgroup” option (or whatever you have named your Windows workgroup). As you may know, OS X doesn’t always play nicely with workgroups that are not named “WORKGROUP.” Ain’t networking grand?
Next, select the computer with the shared printer attached to it and click the “Choose” button.
You will be prompted (ironically) for a username and password. Enter those, optionally check the “Remember this password in my keychain” option, and click the “OK” button.
You’ll likely get an error message that says “Unable to connect to server with the provided password and user name.” that is labeled “Error: 256”. (Isn’t “username” one word?) Note the lack of helpful information in this error message. Do you know what error 256 is? I sure don’t. Hmm.
Now comes the magic, silly, undocumented, user-hostile trick that you were supposed to just guess. I added a sticky note to my screen to capture the beauty of this trick. Here it is. Go back to the Printer Browser window. You have to option-click on the “More Printers” button to get the (usually hidden) “Advanced” menu in the next screen. Now why didn’t I think of that?
From the first pop-up menu, select the (now unhidden) “Advanced” option.
For the Device option, select “Windows Printer via SAMBA.” For the Device Name option, select the name of the shared printer (no spaces, and there is probably a maximum number of characters, like 8 or something, but I’m not sure). For the “Device URI” option, select an address of the form “smb://guest@192.168.1.8/hplj4ml” where “192.168.1.8” is the IP address of the Windows computer with the shared printer and “hplj4ml” is the name of the shared printer. From the Printer Model pop-up menu, select your printer manufacturer (this menu should be called “Manufacturer Name” menu). From the Name windows, select the printer model (this window should be called the “Printer Model” menu). Then click the “Add” button.
Now you’ll be able to print from your OS X computer to a shared printer on a Windows XP computer. But, honestly, this should be a lot easier. Attached shared printers should just be discovered by OS X, and advanced options should not be hidden by default. Memo to Apple: fix this. Apple computers are supposed to be easy to use.
Wow, I really hope this works, but either way, thank you for the post and the detailed instructions and screenshots. I fought with this error last night and I finally walked away totally dejected.
From my archives: How To Print OS X To XP… http://is.gd/eIKh
Hi Erik, I have windows base PC with Shared printer through USB cable, I’m trying to connect the shared printer to my Mac I cannot seem to get the ADVANCE Option that you have mentioned I held down the command key and click MORE PRINTERS at the same time nothing. How can i get to unhide the Advance option right click something or what, thanks
I used Leopard, i new on mac,
I have HP F300 series…not listed in the dropdown list. I’ve installed HP Installer DJF300 v9.7, but still not listed in the dropdown list.
What should i do?
Thanks
I used this article to install a printer a few months ago on a macbook, since then I have tried installing the printer again and in the the “Connect to the printer ‘[printername]’ as” box I simply entered guest as the username and left the password field blank and it seemed to work the same as manually adding the printer.
Great info but have a question. Trying to help my fiancé’s daughter (got Macbook as a gift-she had a cancer recurrence)…MacBook to print wirelessly to shared XP printer.
Worked via USB but wirelessly garbage came out I guess since it is Postscript sending to a PCL HP Deskjet 5940 printer.
Do I need a Gimp print driver or what do I do?
Second question-I no longer can see an option to pick Windows Printing. Saw it once when we got computer and tried to print to XP shared printer. Only has the other options but not Windows printing anymore. Do I need to do an Option Click or go to System Preferences and click on Network???
Thanks
Peter
my printer doesn’t show up in the printer list. i’ve installed the driver, but it still doesn’t show up. what do i do?
FYI, the 10.5.2 update seems to have fixed all of my printing problems. Adding a shared windows printer in Leopard is now MUCH simpler and works well.
The best site, the best advice I’ve ever seen!! Works just GREAT! After many days of exploring the Net (printing from Mac via PC) I ended up here and this is my home for any problem matter. Thanks a lot Erik J. Heels!