Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Print to a Shared Windows Printer Printers
I've seen a lot of these hints on the Internet, but most of them didn't work for me. This is how I managed to print to a shared Windows printer.

We'll start by opening System Preferences, where we chose the Print & Fax preference pane. There you should see a list with all the printers you've currently installed. Click the '+' button to add a new printer. This opens the Printer Browser. Then hold down the Option key and click More Printers; this lets you access the "Advanced" options from the first popup menu.

From the Device menu, select Windows Printer via SAMBA. You can chose the Device Name yourself, but the "Device URI" is a little bit more complicated. It should look like this:
smb://username:password@computername/printername
where:
  • username is the username of an account on the Windows computer.
  • password is the password of this user on the Windows computer.
  • computername is the network name of the computer
  • printername is the name under which the printer is shared on the Windows computer.
For example, suppose there is a windows account "nele" (no password) on the computer named "vaste", and the printer is called "kyocera". Then you should type
smb://nele@vaste/kyocera
Finally, select the correct printer model, and click Add.

You should now be able to print to your shared printer.

[kirkmc adds: I can't test the actual printing, not having a Windows computer, but the rest works fine.]
    •    
  • Currently 3.00 / 5
  You rated: 3 / 5 (14 votes cast)
 
[149,127 views]  

Print to a Shared Windows Printer | 16 comments | Create New Account
Click here to return to the 'Print to a Shared Windows Printer' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Print to a Shared Windows Printer
Authored by: focusedfreedom on Oct 03, '07 08:00:38AM

This is good info. It's the way I've always done it. However, what I've never figured out is how can I edit all of this information once a printer has been set up? Say I want to change the printer share name (on the Mac side) without having to "add" a new printer. I can't see how it can be done. Am I missing something?
Thanks.



[ Reply to This | # ]
Localhost your CUPS
Authored by: gabester on Oct 03, '07 09:26:04AM
You can edit this stuff later via CUPS:

http://127.0.0.1:631 in your favorite web browser.

Select "Manage Printers" then "Modify Printer" for whichever one you want to change the settings on.

The only (big) problem with this hint is you have no choice but to put your credentials in clear text - this is probably not an acceptable solution in a real Windows domain environment.

[ Reply to This | # ]
Print to a Shared Windows Printer
Authored by: matt_k on Oct 03, '07 02:21:11PM

Have you tried using CUPS through your internet browser? The address is 127.0.0.1:631. Choose 'Manage Printers', then 'Modify Printer' under the printer you want to change (if you are asked to log in, use your OS X admin login).

CUPS should take you through all of the printer's settings and allow you to change any of them.



[ Reply to This | # ]
Print to a Shared Windows Printer
Authored by: rjbailey on Oct 03, '07 02:37:42PM
Our sysadmins require periodic network password changes that break the Windows printers on my Mac. I have my Windows network passwords saved in the cups config file at /etc/cups/printers.conf as "smb://username:password@Domain/Path/To/Printer". The easiest way to change passwords I've found is to do this from Terminal.app:
  • sudo vi /etc/printers.conf and change the password, then
  • sudo SystemStarter restart PrintingServices to restart CUPS.
  • You could also change the printer name via the same method. I haven't seen any other method of changing the Windows network password for CUPS printing. The "http://127.0.0.1:631" method doesn't seem to allow this.

    [ Reply to This | # ]
    Print to a Shared Windows Printer
    Authored by: S Barman on Oct 03, '07 10:56:54AM
    I use Bonjour for Windows found at http://www.apple.com/support/downloads/bonjourforwindows.html. I started using it to print to a Mac but when I had to install a laster printer on a Windows machine, it was very easy to connect a Mac to the printer on the Windows machine. Like the rest of bonjour, it was very easy!

    [ Reply to This | # ]
    Print to a Shared Windows Printer
    Authored by: Greg A on Oct 04, '07 04:29:27AM

    S Barman -- Thanks for mentioning Bonjour. I've spent countless hours trying to print from Windows to my Mac using SMB, and was not aware of Bonjour for Windows until I saw your post. I gave it a shot, and it instantly just worked!



    [ Reply to This | # ]
    Print to a Shared Windows Printer
    Authored by: thomasbosboom on Oct 04, '07 01:40:16AM

    Please be aware that doing this stores your password in clear text in the CUPS config file, and your password is sent in clear text over the network every time you print a file.
    Depending on how paranoid you are, you might want to create a separate account used just for printing on the windows machine.

    ---
    ____________________________________________________________
    "Security is like an analogy. It only works up until the point that someone considers an angle or



    [ Reply to This | # ]
    Print to a Shared Windows Printer
    Authored by: squarefrog on Oct 04, '07 12:05:25PM

    I can confirm this works. I'd been trying (unsuccessfully) to do this for months. I'd just about given up, but I stumbled across a page that had similar instructions and it worked superbly.

    Now its on here too! Wonderful!



    [ Reply to This | # ]
    Print to a Shared Windows Printer
    Authored by: lmps56 on Oct 11, '07 11:14:22AM

    hi...
    uhm...i have a mac book pro and my dads got a dell and he has a canon pixma 3000ip connected to his machine...
    now is it possilble for me to connect to his printer via bonjour? cause we are on the same network but my mac just doesnt show his printer...
    any hints?



    [ Reply to This | # ]
    Print to a Shared Windows Printer
    Authored by: R Simmons on Oct 16, '07 11:33:47AM

    I have a MacBook Pro with OS 10.4.10.

    After I try the solution suggested here I still get the NT_STATUS_NO_MEMORY error. Then when I check the data in CUPS I find the user:password part of the string missing. All I see is the computer/printer part. Then when I try to correct the string in CUPS and check it again, the user:password part is still missing.

    Any suggestions about what I am not doing right?

    Thanks,
    Roger



    [ Reply to This | # ]
    Print to a Shared Windows Printer
    Authored by: djarsky on Jan 26, '09 06:16:12PM

    The trick to get this to work is to set the Workgroup name for the Workgroup or Domain that your printer is in. You can set that name in one of two places, depending if you have 10.5 (Leopard) or 10.4 (Tiger) and below.

    For 10.4 and below, you will need to open Directory Access in your Utilities folder. For 10.5, they have moved that option. You'll want to open the Network panel in System Preferences, click on your active network device (Ethernet or Airport) and click Advanced. Once there, select the WINS tab and enter your Workgroup or Domain.

    This resolves the authentication issue because when you try to print and are challenged with the user authentication dialog, the server on the other end is *expecting* the format "domain\username" -- but dialog box is not explicit in telling you to use that format. Having completed the Workgroup/Domain field from the above paragraph resolves this often-missed step, so simply entering your username will now work.

    Good luck!



    [ Reply to This | # ]
    Print to a Shared Windows Printer
    Authored by: djarsky on Jan 26, '09 06:20:13PM
    Be sure to see this hint too on making the WINS info stick. There's a bug in the location manager that won't allow edits to the Automatic location. A quick duplication and renaming fixes the issue.

    http://www.macosxhints.com/article.php?story=20071028135158180


    [ Reply to This | # ]
    Print to a Shared Windows Printer
    Authored by: michelm on Apr 14, '10 12:46:03PM

    Go to the windows machine and type Ctrl Alt Del simultaneously. This will start Windows task manager. Click on the user tab you will see something like this RAPHAEL\michel. In this case michel is the user name and raphael is the machine name. Enter the correct user name and machine name and all will work perfectly!



    [ Reply to This | # ]
    Print to a Shared Windows Printer
    Authored by: Mark Farr on Jan 01, '08 10:32:16PM

    Is ANY BODY AT APPLE LISTENING?
    Why cant my wife's MAC print to a printer shared by my Windows XP PC right out of the (MAC)box... SOP? I think the problem here is failure to communicate. Apple is too caught up in their "DOES IT LOOK COOL" mind-set to make sure "it" works well with other products. I hate to say it but the simplest solution to this(MAC's) problem is to buy another printer for your MAC ... its seems APPLE did not learn how to "SHARE" in kindergarden. Every time I touch the"MAC" $3,000+ its a nightmare. My advice sell it(MAC) and buy a PC ... for the money you will get 4 times the machine and it will print to shared printers ... dang how about that. Some times ugly is beautiful. Before all you APPLE gurus blow a circuit, solve the problem ... anyone ... APPLE you out there?



    [ Reply to This | # ]
    Print to a Shared Windows Printer
    Authored by: rufusgawaine on Jan 07, '08 07:55:38PM

    I used this setup to print from my Mac, but then it stopped working in the middle of a print job. Any ideas?



    [ Reply to This | # ]
    Print to a Shared Windows Printer
    Authored by: nwfrg on Apr 04, '12 10:35:53AM
    Also see: How to manually add a Windows shared printer on the Apple Support site.

    [ Reply to This | # ]