Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


share|improve this question

You need go to /localhost:631/ and follow my step

İmage one

click "Add Printer"

İmage two

You will see printer on "Discovered Network Printers:" but i havent .

and manager will help you

NOTE : if answer is true please confirm it . mewbies can forget it

share|improve this answer
Thanks for your help, but when I get to the "Add Printer" screen my printer isn't listed under "Discovered Network Printers". – iBelieve Nov 24 '12 at 19:23
You don't need "Discovered Network Printers". You can choose LPD, type your IP of router (or printer server) and maybe append "queue" ( – uzsolt Nov 24 '12 at 19:58
@uzsolt i know that ip change every restart ? – user84277 Nov 24 '12 at 20:37
I've tried without "queue" and just now with "queue", but it doesn't work. Is LPD the correct protocol for my router? – iBelieve Nov 24 '12 at 20:39
@mspencer cant you see your printer in DNP ? – user84277 Nov 24 '12 at 20:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.