Sooner or later someone needs a printer's IP address. A new laptop will not find the copier, the copier company asks for it on the phone, or a printer has to be added somewhere by hand. The address is always there; it is just written in a different place depending on who is looking.
This article covers five ways to find a network printer's IP address, starting with the one that needs nothing but the printer, then from a Windows computer, from a Mac, and from the network itself. It also explains why the address sometimes changes and how to stop that. The last part shows where KyberCopy uses the address, with the demo school's own screens.
What a printer's IP address is#
Every device on the school network has an address, four numbers with dots between them, such as 10.20.1.22. Computers send print jobs to that address. A printer may also have a name on the network, its hostname, which the network turns into the address. Either works for printing, but when a name stops resolving, the number is what still gets through.
A printer's address is different from its MAC address, six pairs of letters and digits fixed into the network card. The MAC address never changes; the IP address can. When someone asks for the printer's IP, they mean the four numbers.
1. Print a configuration page#
The quickest way, and the one that tells the truth, is to ask the printer itself. Almost every network printer can print a configuration page, sometimes called a network configuration page, a network summary or a status page. It lists the IP address the printer is using right now, along with its hostname, model, serial number and firmware.
Where it lives depends on the make. Look in the printer's panel for a menu named Reports, Information, Print Reports, Status or Network, and choose the configuration or network page. On some smaller printers it prints after holding a button down for a few seconds. The printer's manual names the exact steps for that model.
Keep the page. It answers the next three questions the copier company is going to ask.
2. Read it on the printer's panel#
Many copiers show the address without printing anything. On a touch screen it is usually under Settings, Network, TCP/IP or Wired LAN, or behind an information or "i" button on the home screen. Some show it on the home screen itself.
Two things to watch for here. A printer with both a wired and a wireless connection can have two addresses; the one that matters is the one on the network the computers are using. And if the panel shows an address starting with 169.254, the printer did not get an address from the network at all. That is a cable or network problem, not an address to write down.
3. Find it from a Windows computer#
If a computer already prints to the printer, the address is in the printer's port.
- Open Settings, then Bluetooth & devices, then Printers & scanners, and choose the printer.
- Open Printer properties and go to the Ports tab. The ticked port shows the address, or a port name that contains it.
The same thing from PowerShell lists every printer with its port, and every TCP/IP port with the address behind it:
Get-Printer | Select-Object Name, PortName
Get-PrinterPort | Select-Object Name, PrinterHostAddress
One caution: a computer shows the address it was set up with, not necessarily the address the printer has today. If the two differ, that is very often why the printer shows offline on that computer. The network printer offline article covers that case.
4. Find it from a Mac#
A Mac keeps each printer's address in its device URL. In Terminal:
lpstat -v
Each line names a printer and the address it prints to, for example ipp://10.20.1.22/ipp/print. A printer that was added through Bonjour may show a long service name instead of a number. In that case, use the configuration page or the network's list to find the number.
The same caution applies as on Windows. A Mac shows where it sends jobs, which is the address the printer had when it was added.
5. Look it up on the network#
Whoever looks after the school's network can find every printer at once. The DHCP server, often the firewall, the router or a Windows server, keeps a list of the addresses it has handed out, with each device's name and MAC address. A printer's MAC address is on its configuration page and often on a sticker, so it can be matched to its line in that list.
Network scanning tools can also find printers by asking the network which devices answer on printing ports. That works, but only use one with the school's permission, and only on the school's own network.
Why a printer's IP address changes, and how to keep it#
Most devices ask the network for an address each time they start, and the network can give a different one later, after a move, a long power cut or an expired lease. A computer then keeps sending jobs to the old address, where nothing answers, and the printer looks offline even though it is on.
There are two ways to stop it:
- A DHCP reservation. The network is told to always give that printer's MAC address the same IP address. The list of reservations lives in one place, which makes it easy to check.
- A static IP address. The address is typed into the printer's own network settings. It works, but it has to be kept outside the range the network hands out, or two devices can end up with the same address.
Whichever is used, write the address down. The printer inventory template has a column for it next to the location, model and serial number.
How KyberCopy uses the printer's address#
KyberCopy prints through a small agent called the relay, which runs on a computer inside the school, next to the printers, and connects out to KyberCopy. Teachers never need a printer's address; they send work to the copy room. The address is needed once, by whoever adds the printer. Everything below is from the demo school, which has made-up staff and data.
An IP address is enough#
On the Printers page, Add printer asks for a name, an address, where it is and the relay that can reach it. Under Address the form says "An IP address is enough. We complete it to ipp://…/ipp/print." So 10.20.4.32, read off a configuration page, is saved as ipp://10.20.4.32/ipp/print. A hostname or a full ipp or ipps address works too.
The relay then contacts that address and reads what the printer can do from the printer itself. Until it has, the card says "Waiting for a relay to read this printer's capabilities. Until then it cannot accept jobs." Nobody types in the model or whether it can staple.
The address and the model, side by side#
Every printer's card shows its address, and its details show the Address the relay is using next to the Model the printer reported. Comparing the two with the configuration page is a quick way to be sure the address really belongs to the machine it is named after.
When the address is wrong or has moved#
The relay contacts each printer about every two minutes. If nothing answers, the Printers page says why in a sentence. An address that has moved usually reads "Nothing answered at that address. The printer is switched off, asleep, or on a network the relay cannot reach." A hostname that no longer resolves reads "That address does not resolve. Check the printer's hostname or use its IP."
The fix is to change the address once on that printer in KyberCopy. Changing it clears what KyberCopy knew about the printer, and the relay reads its capabilities again from whatever answers at the new address, so a different machine on an old number is never trusted with the old one's settings. On the computer the relay runs on, kybercopy-relay doctor lists every printer assigned to it, with its address and model when it answers.
What KyberCopy does not do#
KyberCopy does not search the network for printers, does not hand out or reserve addresses, and never asks for a MAC address. Someone finds the address once, using one of the five ways above, and the relay does the rest.
Questions people ask#
How do I find my printer's IP address? Print a configuration page from the printer's panel. It lists the IP address the printer is using now, along with its hostname, model and serial number.
Where is the IP address on a printer? On its configuration page, and usually on its panel under Settings, Network or TCP/IP, or behind an information button on the home screen.
How do I find a printer's IP address in Windows? Open Settings, Bluetooth & devices, Printers & scanners, choose the printer, open Printer properties and look at the Ports tab. In PowerShell, Get-PrinterPort shows each port's printer host address.
How do I find a printer's IP address on a Mac? Run lpstat -v in Terminal. Each line shows a printer and the address it prints to.
Why does my printer's IP address keep changing? The network hands it a new address after a restart or an expired lease. A DHCP reservation or a static IP address keeps it the same.
What does an IP address starting with 169.254 mean on a printer? The printer did not get an address from the network. Check its cable or wireless connection before using that number.
