-   Linux - Networking (
-   -   How do I print on a different computer? [From Ubuntu 10.04] (

judoka 07-01-2010 04:27 PM

How do I print on a different computer? [From Ubuntu 10.04]
I can't connect a printer to my machine that's running Ubuntu 10.04 because it's outdated; however, I have another computer (Mac) that has a printer attached to it. Does anyone know how I can connect to that computer form my Ubuntu machine and send over documents to be printed on my Mac? Maybe through a remote desktop? Or SSL? I'm new to computers so can you give me a step by step instruction please?

ShellyCat 07-01-2010 04:55 PM

I have never used a Mac except in a limited environment. Generally speaking, when you share a printer, you cause it to show up on the network with its own name. Sometimes, the first time the client tries to use a shared or networked printer, it needs to install drivers for that printer for its OS.

FYI, I don't know if your user account on Mac needs to be a certain type of account (such as Admin) to share a printer.

This is how you share a printer on Mac 10.2+:
Sharing USB Printers in Mac OS 10.2 and Later

Since Mac is back to its Unix base, I imagine you could install CUPS. The article below says non-Mac machines won't just "see" the printer because you shared it (as above). This make sense, because when I used my laptop at school, I couldn't find printers that were connected to Windows machines. (I think that's because of the loss of an easy-to-use GUI printer setup tool in KDE 4 on my distro...they were network printers with IP addresses, so any OS should have seen them, but there was no place to enter an IP address in KDE 4's printer setup, only machine names, and the networked printers in that room are not named.) When you share a non-network (direct-attached) printer in Windows, it is given a NetBIOS name (Windows machine name), and I assume Mac does something similar...hence simple sharing probably is not compatible with non-Mac machines.

So, if that doesn't work, un-share it and try one of the approaches below. (Samba is the most complicated.) Perhaps gimp-print with CUPS...check out your Mac help or Mac websites to find out about installing CUPS.
Printer Sharing from Mac OSX

TITiAN 07-01-2010 05:08 PM

How can Ubuntu 10.04 be outdated?
Never mind that, if you use gimp-print + CUPS from Mac OS, it will probably do the same as Ubuntu since it's the same drivers. It seems we need a way to share the printer with Mac OS drivers on a Linux-compatible protocol such as samba. I personally don't know anything about Mac OS, so I can't really help setting it up. But when it is set up, it should be easy to access from the Ubuntu machine.
Good luck.

jefro 07-01-2010 08:32 PM suggest that the newer mac os's will simply allow samba shares.

judoka 07-01-2010 08:59 PM

Thanks for the info, I found the link "" and followed its advice to set up the printer, all when well; however, it printing job can't get through to the printer. I used Nessus to probe the ports and found that they are all closed. Should I open one of the ports, is that the problem? If so, how do I do this on a Mac and which port do I open?

TITiAN 07-02-2010 07:27 AM

I found this easy guide:
I don't know what protocol to use (see your link, the 7th step).
(One thing I can say is that some protocols such as "AppSocket/HP JetDirect" use the Linux drivers from your Ubuntu machine to work with a remote printer - which won't work if you can't print when the printer is directly attached to the Ubuntu machine.)

All times are GMT -5. The time now is 05:24 AM.