I have a Netgear WNDR4500 wireless router which allows me to print wirelessly to a printer connected to it via a USB cable. However, the software used to print to it only works for Windows and OS X.
I've connected a Brother HL-5150D to it. The printer works normally when I connect it directly to the computer, but I don't know how to set it up in Ubuntu when I connect it to the wireless router. I can also connect and print to the printer on a Windows computer using the software provided with the router. I think the software for Windows uses TCP to create a virtual USB bus and the printer is accessed using the same printer installation as when it is plugged directly into the computer.
I don't know what protocol the router uses. I've seen the question Printing to a printer attached to a network USB hub, but I'm not sure if my router uses the same protocol. I tried the instructions the answer gave using my router's IP address, but when I try to print a test page it says copying data then says printer is in use. In the printer queue window it says not connected.
I've also tried typing my router's IP address into the "Find Network Printer" section of the add printer dialog, but nothing comes up in the search.
How can I access a printer connected to the router using Ubuntu?