Question

I need to know the ip address of my printer from OSX to be able to configure it in my daughters Windows laptop. I tried the solution suggested in How do you get a printer's IP in lion? but I only get: dnssd://AL-CX11-08F61E._printer._tcp.local./auto, and I cannot ping AL-CX11-08F61E._printer._tcp.local. because it does not resolve. Still, I can print. How do I get the actual IP address?

Edit: why doesn't it resolve from the commandline, but still OSX can print?

Was it helpful?

Solution

There is a tool Bonjour Browser which will show you the connected devices on the current network. The connection types are sorted, and you can usually find the printers in Print Spooler (_printer._tcp.) or Internet Printing Protocol (_ipp._tcp.) sections. Each device will list its IP address, among other information.

OTHER TIPS

Use http://localhost:631/printers/ to see the list of printers available. The page shows both printer model and its IP/name under the Printers tab. To enable the cups page, run cupsctl WebInterface=yes in terminal.

If it does not directly show an IP address, click on the printer, where usually there is a connection entry like in this example:

Example entry for an auto-detected OKI MC342 printer

Afterwards run cupsctl WebInterface=no in the terminal.

If the above still does not resolve to an IP-address, then try dns-sd as explained in How can I list the IP addresses of all the AirPrint printers on a network?; search for "_ipp._tcp" in that post.

For that to work you MUST be on the same network as the printer: it does not work if you are on a different network (for instance when on the road and the discovered printer is at home).

Example of a printer not showing the IP address:

enter image description here

Open the Terminal application in Applications/Utilities

type

lpstat -s

You should see a list of all your installed printers. The number after lpd:// is the IP address

Unless you are using a print server, in which case you’ll see the print server’s fully qualified domain name there.

All modern networkable printers (which have a display) have an option to set and display the IP address. Often times you hold the "go button" down for 15 seconds, or while powering up the printer. Sometimes you need a utility that goes with the printer to set and/or view it. Check your manual or find one online.

You should be able to

 ping -c 1  AL-CX11-08F61E.local. | grep PING

(NOT ping AL-CX11-08F61E._printer._tcp.local.).

The line you see then should reveal the IP address of the printer.

Licensed under: CC-BY-SA with attribution
Not affiliated with apple.stackexchange
scroll top