|
|
Printing from Win2k to OS 10.2 Mac USB printer
This is a simple description of what I did to enable printing across a LAN from a Win2K desktop to a Hewlett Packard Deskjet 930C connected via USB to a OS 10.2 (jaguar) Mac. Originally I had sought to enable printing over my LAN via Samba, but was unable to get it working, even after downloading the excellent SSP beta package for Jaguar: http://xamba.sourceforge.net/ssp and reading a lot of the other articles here on cups and samba
Fortunately the CUPS system seems to work just fine once you've got everything configured properly. Still if anyone would like to point out what I need to do to get it working via Samba I'd certainly be interested...
For the following to be helpful, you'll probably need to be familiar with the command line interface and editing configuration files using a command line text editor like vi, emacs or pico.
On the Mac I set up the following configuration:
In the System Preferences Sharing panel under the Services tab Printer Sharing needs to be turned on.
Open a terminal window and change to the /etc/cups/ directory.
Use a text editor to uncomment the following line in the mime.convs file:
#application/octet-stream application/vnd.cups-raw 0 -
Also uncomment the following line in the mime.types file:
#application/octet-stream
The following may be specific to certain printers, but it was also necessary to change the following line in the printer.conf file:
DeviceURI file:///dev/null
I determined the correct URI by:
1. Opening the Print Center in the /Applications/Utilities/ folder.
2. Selecting my printer from the list (in my case the DESKJET 930C)
3. Holding down the Option/Alt key and clicking the Add button.
4. Selecting the "Advanced" option from the drop down menu
5. Then selecting the DESKJET 930C printer from the "Device" menu.
6. This resulted in the device URI being displayed in the field as follows:
usb://HEWLETT-PACKARD/DESKJET%20930C?serial=XXXXXXXXXXX
I later found out that this information is also available in the terminal using the command:
lpinfo -v
7. I opened up the printer.conf file in the text editor and replaced "file:///dev/null" with the URI
Last I restarted the cupsd process so that the configuration changes were loaded. You can either kill and restart cupsd manually on the command line (as root or by using sudo) Or you can reboot the computer.
On the PC you'll need set up the following configuration:
1. Open up printers from the Windows 2000 start menu.
2. Double click "Add Printer" and choose "Network Printer"
3. Choose the "Connect to a printer on the Internet or on your intranet"
4. Enter the URL for your Mac printer as follows:
http://192.168.xxx.xxx:631/printers/DESKJET_930C
5. Substitute the name of the printer connected to the Mac for "DESKJET_930C" as it appears on the CUPS web admin page (Accessible by entering this URL: http://127.0.0.1:631 in a browser running on the Mac)
6. 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.
That should do it.
You may also need to set up a valid account for the Windows user on the Macintosh, but you should be able to find help for doing that elsewhere.
If you're still having problems, you might want to take a look at the primary sources for a number of the steps detailed above. Try searching these two sites for "cups", "samba" and "printing":
http://www.macosxhints.com/search.php
http://discussions.info.apple.com
As with most unofficial documentation on the internet, this worked for me, YMMV. Hope it helps.
works great
Thank you edentz.
Printing from Win2k to OS 10.2 Mac USB printer
So close -- I've got a Canon S800. When I make all the indicated changes, EXCEPT the change from the file: to the usb: string in printers.conf, I can create a printer on the Windows 2000PC, that, based on watching packets on the wire, is sending data to CUPS on the Mac. CUPS shows the job as completed, yet nothing shows up.
Printing from Win2k to OS 10.2 Mac USB printer
More Info:
Printing from Win2k to OS 10.2 Mac USB printer
What worked for me was to NOT change the file: definition in the existing Printer definition but rather to add a new printer for Windows printing only from the http://localhost:631/printers screen in the browser.
Printing from Win2k to OS 10.2 Mac USB printer
This hint still works (and is apparently still required) for Mac OS X 10.4 Tiger.
Printing from Win2k to OS 10.2 Mac USB printer
What a great tip! This worked fabulously for me -- er, well, almost. I am now able to print quite happily from a Win2k box to the Epson Stylus C82 attached to my Mac. But now, I can't print from the Mac anymore! Print Center fires up and then quits with no error messages. The status from the CUPS web page says there's a communication error with the printer. But like I said, the PC is printing to it (via CUPS) just fine, and I can do a nozzle test from the Mac, so I know the communication is good.
Printing from Win2k to OS 10.2 Mac USB printer
Further progess -- it seems restarting cupsd after making the change from
It's working now!
I figured it out.
Printing from Win2k to OS 10.2 Mac USB printer
I don't have Win2K but just Win98 and was convinced that I could make my new Samsung ML1710 work as both a shared and a local printer. I discovered that as soon as I used the advanced setting to make it work on the network it wouldn't work on the local, so I think I have come up with a workaround using a lot of the information you provide above. It appears that to work locally you need to retain one printer with the URI of file:///dev/null (which when you use http://127.0.0.1:631 will show up as file://dev/null, i.e. 2 rather than 3 ///'s). On the other hand if you created a printer using the option click add and chose advanced and chose the printer that it listed, the one that worked locally would be replaced. So...what I did was use choose to add a USB printer instead and pasted in the string that you found with ipinfo -v for the printer that you are trying to connect but give it a new name, e.g. MyPrinterSMB or some such. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|