linux airport printing

July 24th, 2006


From the Dept. of Maybe-This-Will-Help-Someone-Somewhere:

I searched high and low to find instructions on how to print to my trusty AirPort Extreme wireless print server via Ubuntu linux, and came up relatively empty. I found instructions on how to set it up under Windows — obsolete instructions, as Apple actually makes an excellent utility for Windows that uses Bonjour — but nothing specific to linux. So here we go, using Ubuntu/Gnome:

  1. Select “Printing” under the Administrative settings menu; authenticate.
  2. Select “Network Printer”.
  3. Select HP JetDirect printing.
  4. Set the Host as the IP of the Airport router (probably 10.0.1.1).
  5. Here’s the tricky part — all the instructions I found said to use port 9100, but this didn’t work for me. I port scanned the Airport router and got this:

    Port Scan has started ...

    Port Scanning host: 10.0.1.1

    Open TCP Port: 53 domain
    Open TCP Port: 5009
    Open TCP Port: 9101 bacula-dir
    Open TCP Port: 10000 ndmp
    Port Scan has completed ...

    …so I instead entered the printer port as 9101*.

  6. I continued on to enter the make and model of the USB printer attached to the AirPort and successfully printed an Ubuntu test page — a lovely test page, by the way, puts other printer test pages to shame.

~jeff

* Not sure what Bacula has to do with it, if anything.