Using a shared printer

Walter Bennet

Registered
I have a ibook with Mac OS 10.2 (Jaguar) on it and a PC with GNU/Linux on it. They are both connected to my router/modem so that I can share my internet connection, but now I would also like to share my printer, which is connected to my GNU/Linux PC (I use CUPS for printing with my HP PSC 2110 printer). How can I use my printer on the Mac OS X box too?
Someone told me that I could use Samba, but isn't that only for accesing the printer from a MS Windows computer?
I running samba now,with the folowing configuration, but how can I find the printer on the Mac OS X ibook?;
Code:
[global]
printing = cups
load printers = yes
security = share
netbios name = MYSERVER
server string = "Is It Not Nifty?"

[printers]
path = /usr/spool/public
printable = yes
public = yes
writable = no
guest ok = yes
browseable = yes

Thank you in advance.
 
Try IP printing (this applies to the Add Printer dialog in Print Center in Applications/Utilities in MacOS X) The following info was found on macosxhints.com, but I've modified it:
How to print to LaserWriter/jet attached to a CUPS/linux machine.
1. Things you may need to do first:
Turn on Printer Sharing in linux.
2. Find out the name CUPS gives your printer.
It's probably the name you think it is, but substitute the underscore character for a blank space and the letter g for an apostrophe. You can find out for sure by looking in the file /etc/cups/printers.conf (you will need to do this as super user). There should be an entry for your printer; its name occurs after the word Printer at the beginning of the entry.

3. Find out the IP address or host name of the CUPS/linux machine.

4. Go to your OS X machine and do Add Printer in Print Center.
Select "IP printing" in the pull-down at the top of the dialog and type the following in the space where it asks for the URL:
http://ip_address:631/printers/name_of_printer
Substitute the printer name and ip address you found before for "name_of_printer" and "ip_address".

This is UNTested. (I use my OS X machine to serve as the CUPS server.)
If you don't find your printer in the CUPS prefs, you haven't installed everything needed to print, like GIMP, PPD, etc.
 
Originally posted by gsahli
Try IP printing (this applies to the Add Printer dialog in Print Center in Applications/Utilities in MacOS X) The following info was found on macosxhints.com, but I've modified it:
How to print to LaserWriter/jet attached to a CUPS/linux machine.
1. Things you may need to do first:
Turn on Printer Sharing in linux.
2. Find out the name CUPS gives your printer.
It's probably the name you think it is, but substitute the underscore character for a blank space and the letter g for an apostrophe. You can find out for sure by looking in the file /etc/cups/printers.conf (you will need to do this as super user). There should be an entry for your printer; its name occurs after the word Printer at the beginning of the entry.

3. Find out the IP address or host name of the CUPS/linux machine.

4. Go to your OS X machine and do Add Printer in Print Center.
Select "IP printing" in the pull-down at the top of the dialog and type the following in the space where it asks for the URL:
http://ip_address:631/printers/name_of_printer
Substitute the printer name and ip address you found before for "name_of_printer" and "ip_address".

This is UNTested. (I use my OS X machine to serve as the CUPS server.)
If you don't find your printer in the CUPS prefs, you haven't installed everything needed to print, like GIMP, PPD, etc.

Thanks for the information, I will try it out asap, but I have one question; how do I turn on Printer Sharing?
 
Back
Top