Share a CUPS Printer With Apple Mac OS X

If you have a Linux (or similar) box with CUPS running on it and an attached printer, and you want Mac OS X to print on it from another box via the network, then you are on. Let's name them "linux" and "osx".

Steps

  1. Open the CUPS administration on the linux box: http://linux:631/ (or localhost:631 on the local linux machine).
  2. Find the name of your printer queue by clicking on Manage Printers. It is the name you got just on top of the printer icon. Let's call it "prinny".
  3. Open the System Preferences in your OSX box, go on Printing and click on the plus sign
  4. Select (on the top box) IP printer, select Internet Sharing (IPP) from the protocol and write the linux box hostname in the Address field. Leave the queue blank and give it a fantasy name (say, "remote"). Close the panel.
  5. Open Safari and browse to http://localhost:631/ on the osx box. It will ask you for your login name and password, use the ones for your account if necessary.
  6. Click on Manage Printers, find "remote" and click on Modify Printer
  7. Click on Continue
  8. Change the device to Internet Sharing (HTTP) and click continue
  9. Write the new device URI: http://linux:631/printers/prinny (substitute Linux and Remote as necessary) then click Continue
  10. Select a Raw queue and continue
  11. Now you can even print your test page!

Related Articles