Sharing a Printer with Windows Users

Discussion in 'General Mac Discussion' started by evildead, Feb 23, 2003.

  1. evildead macrumors 65816

    evildead

    Joined:
    Jun 18, 2001
    Location:
    WestCost, USA
    #1
    I am having problems sharing a printer hooked up to my Mac running OS 10.2.2 with a Windows XP box. Printer sharing is turned on but what do I do now?
     
  2. Eniregnat macrumors 68000

    Eniregnat

    Joined:
    Jan 22, 2003
    Location:
    In your head.
    #2
  3. evildead thread starter macrumors 65816

    evildead

    Joined:
    Jun 18, 2001
    Location:
    WestCost, USA
    #3
    I actly read that all ready...

    Its not a mater of hardware. Im interested in sharing a printer connected to my Mac running OS 10.2.3 with a WinXP box. Its done with Samba witch is allready built in to OS X. I can sare drives to the XP box but I dont know how to configure the printer.
     
  4. Fukui macrumors 68000

    Fukui

    Joined:
    Jul 19, 2002
    #4
    I think u need to login to the cups printer admin through your web browser...the info is somewhere out there...check macosxhints.com

    They got lots of tips about mac/win sharing.
     
  5. evildead thread starter macrumors 65816

    evildead

    Joined:
    Jun 18, 2001
    Location:
    WestCost, USA
    #5
    thanks

    thanks.. I didnt think to look there... They seem to have a way to do it. Unfortunatly it looks like it can only print text that way.. but I will give it a run. Any one else have sugestions? Here s link to what I found:

    Link
     
  6. evildead thread starter macrumors 65816

    evildead

    Joined:
    Jun 18, 2001
    Location:
    WestCost, USA
    #6
    if your interested

    I got it to work... kind of. I have a good old Epson 740 (First USB pinter.. got it the same day as my Rev-A iMac)...When I load the drivers on the XP box... I get errors when printing. If I use generic drivers, I can only print plain text files. Not even files from Word. th formatting is all messed up. Oh well... It is a 5 year old printer. I might just have to bite the bullit and get a network printer.. and do it right.
     
  7. Fukui macrumors 68000

    Fukui

    Joined:
    Jul 19, 2002
    #7
    Yea, I think there is some other way to do it using CUPS, but I'm not entirely sure. Have you tried to do LPR printer sharing via CUPS?

    That way all you really need is a PPD file...I think.
     
  8. evildead thread starter macrumors 65816

    evildead

    Joined:
    Jun 18, 2001
    Location:
    WestCost, USA
    #8
    CUPS saved the day

    I just thought I would post this incase anyone was interested.

    I got my EPSON 740 connected to my Mac to share with Win2000 and WinXP computers on my network. I tried using SAMBA but that was a bust.. as I posted before, I could only print plain unformatted text files and I would get a error every time I would print from the WinBox. I used these Directions to make it work.


    Instructions:

    Turn on your Printer (I made this mistake)

    Turn on Printer Sharing in the System Preferences Sharing panel.


    Open Terminal and change to the /etc/cups/ directory.
    % cd /etc/cups
    Make backups of the mime.convs and mime.types files:
    % sudo cp mime.convs mime.convs.bak
    % sudo cp mime.types mime.types.bak
    You will have to supply your password for sudo to work.


    Use a text editor to uncomment the following line towards the end of the mime.convs file (by removing the # sign):
    #application/octet-stream application/vnd.cups-raw 0 -
    I usually use pico as the editor, as it is fairly self explanitory (sudo pico mime.convs).


    Also uncomment the following line towards the end of the mime.types file:
    #application/octet-stream
    Restart CUPS so it takes your changes:
    % sudo killall -1 cupsd


    Open Internet Explorer and go to http://127.0.0.1:631/printers. This is the CUPS printer administration tool. You should see your printer there. Do not edit that printer. Instead, create a second printer for Windows to use. Editing the existing printer will render it unusable to the Mac.


    Click "Add Printer". Give it a name that differs from your current printer setup; give it a location that makes sense (may be optional); give it a description (I used "970cse for Windows").


    Click "Continue" and choose your printer from the Device list.

    (if you dont see your printer in the device list, its probably becuase you didn't turn on your printer before you started all this. Turn on your printer and restart CUPS again, then close your browser and start over again)


    Click "Continue" and choose the make of your printer from the list. "HP" was in my list.


    Click "Continue" and choose the model/driver for your printer. I had a few options, one of which was "HP New DeskJet Series CUPS v1.1 (en)".


    Click "Continue". It will say your printer has been added. Click "Printers" at the top of the page to see all your printers. The new one should be there. Notice that the Device URI is different for the new printer you created. It should have the make and model of your printer along with a serial number. Mine looked like this:
    usb://HEWLETT-PACKARD/DESKJET%20970C?serial=xxxxxxxxxxxx
    (actual serial number blocked)
    You are done setting up the printer on the Mac. Now you need to install it on your PC. These instructions are for Windows 2000. There could be slight variations with differet releases of Windows.
    Open up printers from the Windows 2000 start menu.


    Double click "Add Printer" and choose "Network Printer"


    Choose the "Connect to a printer on the Internet or on your intranet"


    Enter the URL for your Mac printer as follows:
    http://192.168.xxx.xxx:631/printers/DESKJET_970C
    Substitute whatever printer name you created in CUPS for "DESKJET_970C". Also be sure to substitute the correct IP address of your Mac for "192.168.xxx.xxx".


    Once you've entered the correct URL for the Mac printer, you should be prompted for the location of the printer drivers on the Windows system. (I got this even though I had previously installed the drivers.) Browse to the drivers on the printer CD or download them from the manufacturer's website.

    (I got an error that the print server had the incorrect drivers. I just loaded the built in drivers on the Windows box and it worked fine)

    That should be it. At this point you should be able to print from your Windows PC and from your Mac.
     
  9. Fukui macrumors 68000

    Fukui

    Joined:
    Jul 19, 2002
    #9
    Thanks man.

    That is obviously a very valuable hint for me too since I couldn't figure it out.
    Have you posted it to macosxshints.com?
     
  10. evildead thread starter macrumors 65816

    evildead

    Joined:
    Jun 18, 2001
    Location:
    WestCost, USA
    #10
    Re:Fukui

    I got this info from macosxshints.com :)

    I made a few changes to it but its almost compleetly from an existing thread.

    There is much talk about printer sharing on macosxhints.com. I tried several things with samba with no luck. I even tried a gui samba config tool... that just made things worse.
     

Share This Page