Go Back   The macosxhints Forums > OS X Help Requests > System



Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Old 10-29-2003, 03:13 AM   #1
denn88
Prospect
 
Join Date: Oct 2003
Location: The Netherlands, Europe
Posts: 47
Panther printer sharing with WinXP Home

I'm not able to share my Epson Stylus Photo 830U (USB on my Mac) with a WinXP Home user. In the new help feature of Panther says its easy: Turn on Windows File Sharing and Printer sharing, then connect to the Mac printer from windows.

Now the WinXP machine can see the printer (its SMB shared as well, and can connect to it). WinXP says its ready for use, but when I print a test-page from Windows it doesn't start printing. I even got no error messages on either machine.

Then I thought I could get it to work like I did on Jaguar. Sharing the printer with cups, on the Win computer you create a http printer (admin using 127.0.0.01:631 etc). Worked good for me. But in Panther it asked for a 'uri' addres, whats that?

I'd liked to believe the new Apple Panther feature: turn on windows file sharing and printer sharing, and it works, not... What to do next?

Thanx, Dennis
denn88 is offline   Reply With Quote
Old 11-05-2003, 11:56 AM   #2
djarran
Prospect
 
Join Date: Nov 2003
Location: Miami, Fl
Posts: 22
I'm having exactly the same problem with an Epson Stylus C80 and Windoze 2000 Pro. Everything on the Win2K machine seems to work fine until it's time to print, and then...zip, nada, nothing!

If anyone has a solution to this problem, I'd appreciate it, because it'll save my sanity, and my wallet the $100 to go and buy a USB print server.
__________________
MAC OSX - Because it was easier to make UNIX user-friendly than to fix Windows.
djarran is offline   Reply With Quote
Old 11-06-2003, 02:48 AM   #3
denn88
Prospect
 
Join Date: Oct 2003
Location: The Netherlands, Europe
Posts: 47
Talking Finally fixed the problem, "mime.confv & mime.types"

Here is the solution:

In the following file:

"/private/var/log/cups/error_log"

there is an error like:

"application/octet-stream application/vnd.cups-raw 0 -" (something with 'raw' support)

If so, you need to uncomment the line above in the following two files:

/private/etc/cups/mime.convs
/private/etc/cups/mime.types

At the bottom of these two files the exact same line is commented, uncomment these line in both files. In the terminal give the following command to restart the CUPSD server:

sudo killall -1 cupsd

The CUPS server is restarted and your good to go. If anyone needs to know how to setup the Windows printer please led me know.
denn88 is offline   Reply With Quote
Old 11-15-2003, 01:52 PM   #4
rmcellig
Major Leaguer
 
Join Date: Jan 2002
Posts: 436
On my Windows 2000 machine, how exactly do I set up the printer that resides on my G4. I have printer sharing turned on on the G4. The ip address on the G4 is 192.168.0.4
rmcellig is offline   Reply With Quote
Old 11-15-2003, 06:48 PM   #5
djarran
Prospect
 
Join Date: Nov 2003
Location: Miami, Fl
Posts: 22
Once you've completed the above, you'll need to add a printer to be used by your Windows machine on your G4 using the CUPS utility at http://localhost:631/printers

1. Click Add Printer
2. Give the printer a name description and location
3. Click continue and choose your printer from the drop-down. You'll then be prompted to choose a driver.

Once you've added the printer here, you should find that it's available as a regular network printer from your Add Printer Wizard in W2K
__________________
MAC OSX - Because it was easier to make UNIX user-friendly than to fix Windows.
djarran is offline   Reply With Quote
Old 11-17-2003, 03:18 AM   #6
denn88
Prospect
 
Join Date: Oct 2003
Location: The Netherlands, Europe
Posts: 47
Lightbulb Configure CUPS and adding the printer on Windows

First turn on Windows File Sharing and Printer Sharing in sys. prefs. Then you have to 'copy' your Mac printer for Windows users, example Mac printer name: Laserwriter. The name of the copy would be like 'laserwriter_win' (Yes no spaces!). I recommend adding that printer in the CUPS setup (http://localhost:631/printers) and not the Mac OS X Printer Utillity/Print Center. You have provide CUPS with the exact printer driver and device info, when you have to choos the printer model, select the USB printer directly attached to your Mac: (USB) Laserwriter (example).

When all is done you should check the 'Device URI' in the CUPS list, it should read something like: USB/Laserwriter. It has to be a local USB printer.

If you have Panther, you have to edit the two files described in the above topic: Finally fixed the problem, "mime.confv & mime.types"

Then restart CUPS, terminal command: sudo killall -1 cupsd

Note:
One other thing, when the Win printer 'copy' is added, don't ever, ever use it on your Mac to print!!! The printer would render un-useable on your Mac. In Panther you can disable that printer in your printer list, as 'hidden'.

The Windows part:

On Windows you can't really connect/browse to this printer, it's not a SMB printer, its a Unix CUPS printer!!

On Windows you add the networked 'copy' Win printer like this:

1) Add the printer.
2) Choose 'Network printer'.
3) Choos to print via IP/Internet.

4) Enter the following address with your Mac's IP number. Replace the last part with the 'copy' Win name of your Mac printer (don't add the last slash!). This printer name must be the exact name that is listed in the CUPS printer list. It's the blue name, just above the printer icon.

http://192.168.0.2/printers/laserwriter_win

5) Now you just need the Windows driver to have a happy multi-platform, multi-cultural printing environment.

djarran: Did you managed to connect to the Mac printer by just adding it like a networked SMB printer? Panther does share its printers on SMB but this tutorial doesn't use SMB to print. The 'shared' Mac printer for Windows SMB it the same as the USB Mac printer, I don't know if this can cause problems.

The Mac OS X help center suggested that it should work by just turning on: Windows Sharing & Printer Sharing, but I'm unable to get that to work at all.

Last edited by denn88; 11-17-2003 at 03:42 AM.
denn88 is offline   Reply With Quote
Old 11-17-2003, 06:08 AM   #7
rmcellig
Major Leaguer
 
Join Date: Jan 2002
Posts: 436
I have an i560 Canon printer. I don't see the driver listed for this printer on the CUPS web page. What should I do?
rmcellig is offline   Reply With Quote
Old 11-17-2003, 06:27 AM   #8
denn88
Prospect
 
Join Date: Oct 2003
Location: The Netherlands, Europe
Posts: 47
Canon printer

Quote:
Originally posted by rmcellig
I have an i560 Canon printer. I don't see the driver listed for this printer on the CUPS web page. What should I do?

During the installation of Jaguar or Panther did you installed the 'Apple' version of the Canon printer driver package? If not, CUPS doesn't have the printer driver. I gues you use the Mac printer driver now, to print. You can install these extra packages from the Jaguar or Panhter cd. I think there is a difference between the Mac driver and the CUPS driver.

When your printer is listed and works on Jaguar/Panther it should be listed in the device pulldown list on the CUPS 'Add printer' page (USB printer I presume).

You can also check the GIMP printer package. It has alot of unsupported printer drivers for Mac OS X Jaguar/Panther.

Gimp package download

Gimp info page

Supported printer

I don't see that your printer is supported by GIMP, but I think those CUPS drivers of your printer are on the Apple Jaguar/Panther install disks, just search for extra printer drivers of Canon.
denn88 is offline   Reply With Quote
Old 11-17-2003, 06:44 AM   #9
rmcellig
Major Leaguer
 
Join Date: Jan 2002
Posts: 436
This is what the description is on the CUPS page for my i560 printer. Pardon my ignorance, but is the driver name included in the text below?


CANON BJC 55, CUPS+Gimp-Print v4.2.5
Description: Canon printer
Location: Basement
Printer State: idle, accepting jobs.
rmcellig is offline   Reply With Quote
Old 11-17-2003, 07:35 AM   #10
denn88
Prospect
 
Join Date: Oct 2003
Location: The Netherlands, Europe
Posts: 47
Smile

Quote:
Pardon my ignorance, but is the driver name included in the text below?

No, the driver is not listed here. But your printer is managed by CUPS and installed using GIMP, I can tell. Did you 'copy' your Mac printer, on the CUPS pages (see above discription), to something like: 'canon_bjc_55_win'?

In the device list (CUPS) you have to select that printer that is attached to your Mac it should be something like: 'Canon BJC 55 (USB)' thats the printer device you need. In the 'make' screen you need to select the Canon 'brand'. This is where you may have needed the GIMP printer package. In the next screen, the 'make' screen, you should select the exact name of the printer as it is listed on your Mac.

In your CUPS printer list there should be two identical printers (but just two different names); one for Mac and one for Windows users that use different drivers, but they are the same printer device.

If this all works, check the device URI, it should read something with USB// etc... Now you just need to add this printer to the Windows machine.

Remember when you first added the CUPS copy of your printer? The first field called 'name'... thats the name you should use in the address (add the end) on Windows when adding the printer. This is why you have to use a name like: 'canon_bjc_55_win' for your copied printer.
denn88 is offline   Reply With Quote
Old 11-17-2003, 12:07 PM   #11
djarran
Prospect
 
Join Date: Nov 2003
Location: Miami, Fl
Posts: 22
Re: Configure CUPS and adding the printer on Windows

Quote:
djarran: Did you managed to connect to the Mac printer by just adding it like a networked SMB printer? Panther does share its printers on SMB but this tutorial doesn't use SMB to print. The 'shared' Mac printer for Windows SMB it the same as the USB Mac printer, I don't know if this can cause problems.

The Mac OS X help center suggested that it should work by just turning on: Windows Sharing & Printer Sharing, but I'm unable to get that to work at all.

After I added the printer using CUPS, it showed up as a shared network printer in the Windows Add Printer wizard - I didn't need to use the internet printing protocol at all.

I believe the OSX help centre advice is correct, if you've done the CUPS setup. My experience would tend to confirm this.

For the record, I'm running an 800MHz 15" flat panel iMac with Panther 10.3.1, a 266MHz Pentium MMX running Win2000 Professional, and an Epson Stylus C80 USB printer. The networking side of things is handled by a NetGear MR814v2 Wireless router, the iMac is connected via ethernet, the PC on a D-Link wireless ethernet card.

__________________
MAC OSX - Because it was easier to make UNIX user-friendly than to fix Windows.
djarran is offline   Reply With Quote
Old 11-19-2003, 07:40 PM   #12
mannikin
Prospect
 
Join Date: Feb 2002
Posts: 18
Re: Configure CUPS and adding the printer on Windows

Hi;

I'm having a bit of dilemma, and it looks like you've made some major headway. Here is what I'm trying to do:

- We have a Panther server (10.3)
- We have network printers available to our macs through appletalk
- I need to be able to print from my windows 2000 server machine to one of these network printers.

I've setup CUPS, and have gone through all the steps (my post is here http://forums.macosxhints.com/showth...=&postid=93812)

I'm totally stumped on how to get this work!! My printers are not directly connected to my server, so I can't turn on turn on Windows File Sharing and Printer Sharing. How else can I do this?

Thanks;
John

Quote:
Originally posted by denn88
First turn on Windows File Sharing and Printer Sharing in sys. prefs. Then you have to 'copy' your Mac printer for Windows users, example Mac printer name: Laserwriter. The name of the copy would be like 'laserwriter_win' (Yes no spaces!). I recommend adding that printer in the CUPS setup (http://localhost:631/printers) and not the Mac OS X Printer Utillity/Print Center. You have provide CUPS with the exact printer driver and device info, when you have to choos the printer model, select the USB printer directly attached to your Mac: (USB) Laserwriter (example).

When all is done you should check the 'Device URI' in the CUPS list, it should read something like: USB/Laserwriter. It has to be a local USB printer.

If you have Panther, you have to edit the two files described in the above topic: Finally fixed the problem, "mime.confv & mime.types"

Then restart CUPS, terminal command: sudo killall -1 cupsd

Note:
One other thing, when the Win printer 'copy' is added, don't ever, ever use it on your Mac to print!!! The printer would render un-useable on your Mac. In Panther you can disable that printer in your printer list, as 'hidden'.

The Windows part:

On Windows you can't really connect/browse to this printer, it's not a SMB printer, its a Unix CUPS printer!!

On Windows you add the networked 'copy' Win printer like this:

1) Add the printer.
2) Choose 'Network printer'.
3) Choos to print via IP/Internet.

4) Enter the following address with your Mac's IP number. Replace the last part with the 'copy' Win name of your Mac printer (don't add the last slash!). This printer name must be the exact name that is listed in the CUPS printer list. It's the blue name, just above the printer icon.

http://192.168.0.2/printers/laserwriter_win

5) Now you just need the Windows driver to have a happy multi-platform, multi-cultural printing environment.

djarran: Did you managed to connect to the Mac printer by just adding it like a networked SMB printer? Panther does share its printers on SMB but this tutorial doesn't use SMB to print. The 'shared' Mac printer for Windows SMB it the same as the USB Mac printer, I don't know if this can cause problems.

The Mac OS X help center suggested that it should work by just turning on: Windows Sharing & Printer Sharing, but I'm unable to get that to work at all.

mannikin is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 12:37 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.