Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Printing to a shared linux printer Network
When configuring OS X to print to a network printer (i.e. to a printer that is connected to a linux machine), you'll need to create a file /etc/hosts.lpd on the linux machine and add the hostname of your Mac in that file.

The hostname is the name you gave your computer in the Computer Name field on the Sharing tab of the Internet & Network system preferences.

[Editor's note: No linux box to test with here, so I can't vouch for this one...]
    •    
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[4,144 views]  

Printing to a shared linux printer | 3 comments | Create New Account
Click here to return to the 'Printing to a shared linux printer' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
CUPS
Authored by: osxpez on Oct 12, '02 05:36:21AM

That is, unless you have a CUPS queue on your Linux machine, in which case you bypass lpd all together.



[ Reply to This | # ]
CUPS
Authored by: gxw on Oct 14, '02 05:56:18AM

CUPS is nice!!!
I did not have to configure OS X at all for printing. It goes out all by itself and finds the CUPS server on the Linux box and adds the printer(s) I defined on Linux to OS X. Sweet. I have the GIMP print filters installed for my printer on the Linux box. This means I can print to a LaserJet 6L which is not a postscript printer.



[ Reply to This | # ]
re: Printing to a shared Linux printer
Authored by: qc03972 on Feb 16, '03 11:46:55AM

The hint provided above does work for a Mac running Jaguar and a Linux print server running RedHat 8.0, with the following enhancement:

To have LPRng use /etc/hosts.lpd for determining what clients have permission to submit jobs to the Linux printer queue(s), the following line must be added to /etc/lpd.perms:

ACCEPT SERVICE=X REMOTEHOST</etc/hosts.lpd.

Make sure this line appears before the "REJECT SERVICE=X" line in lpd.perms.



[ Reply to This | # ]