Ik heb inmiddels wat gevonden, zie hieronder.
Weet iemand waar ik het bestand “mime.convs”, zodat ik deze aan kan passen zoals hieronder staat beschreven? Als ik via Spotlight zoek of info, vind ik niets.
[size=9:90c894c04c]I have finally succeeded in getting my Windows 2000 PC to print to my HP Deskjet 970 which is attached to my iMac. I know this works for USB inkjets. Your mileage may vary with other types of printers. Essentially, you don’t use Samba at all, just CUPS.
Read the rest of the article for the how-to…
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:
- 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.
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:
(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:
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.
That should be it. At this point you should be able to print from your Windows PC and from your Mac.[/size:90c894c04c]