linux airport printing
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:
- Select “Printing” under the Administrative settings menu; authenticate.
- Select “Network Printer”.
- Select HP JetDirect printing.
- Set the Host as the IP of the Airport router (probably 10.0.1.1).
- 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*.
- 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.
Jeff, I would be careful with that. That’s the port for someone with a lisp to transfer draculas ( you know, http://ldopa.net/2005/11/17/my-childhood-fears/#comments ) to your network.
Scott Bakula almost ran me off the road in Hollywood last year. He’s an asshole.
THANKS! Big time useful tip. Out of curiosity, what do the othe ports that result from the port scan on 10.0.1.1 refer to?
Amit,
According to the authoritative source:
http://www.iana.org/assignments/port-numbers
…port 53 is “Domain Name Server”, 5003 is “winfs” or “Microsoft Windows Filesystem”, 9101 is “Bacula Director” (whatever that is?) and 10000 is “Network Data Management Protocol”.
~jeff
I have the exact same problem, but my port scan don’t show any open port in 9xxx . Just the others here mentioned: 53, 5009 and 10000. Anyone here know how the get the Airport “open up” port 9100 (or 9101) ?
I already tried downgrading the firmware, as suggested in several places on the Net. (box= Airport Express, firmwares 6.3 and 6.1.1, i’m trying to print to a HP inkjet connected to the AE’s USB port)
and yes, I AM using the correct IP adress, if you was going to ask for that…
Tnx
I have also found the same ports opened after a port scan. I had actually set the port to 53, and got some activity on the HP LaserJet 2100M printer (light blinking like it is is going to print. however nothing ever came of it. I also have the CUPS enabled to examine the printer over the browser and it replies the printer s busy and to it will retry n 30 seconds.
[...] ldopa.net » archive » linux airport printing Setting up Airport Express and printing for Linux. (tags: linux printing networking howto tutorial) [...]
[...] Blog Name: ldopa.net Article Title: linux airport printing [...]