Home lab

Printer keeps going offline? Give it a fixed address on UniFi

← All guides

Who it is for

A shop, office, or restaurant on UniFi where a printer keeps “going offline.” The receipt printer stops taking orders mid-rush, the kitchen ticket printer goes quiet, or the office printer vanishes from everyone’s computer. Someone turns it off and on, it works again for a few days, and then it happens again. If that sounds familiar, this guide is for you. The same fix works for label printers, scanners, and anything else other devices have to find on the network.

Why this happens

Every device on your network gets an address (an IP address) from your UniFi gateway. Normally that address is handed out on a lease, and when the lease runs out or the device restarts, it can come back with a different address. Phones and laptops do not care. A printer does, because your POS, tablets, or computers were set up to send jobs to one specific address. When the printer moves to a new one, they keep sending to the old address and report the printer as offline.

UniFi has a setting called Fixed IP Address that tells the gateway to always give one device the same address. Ubiquiti’s help article describes it as setting “a DHCP reservation” for that device. Nothing changes on the printer itself; the gateway simply keeps its spot.

Weak WiFi and printer sleep settings can cause the same symptom, so this guide covers those too (steps 7 and 8).

What you need

  • Admin access to UniFi, either locally or through unifi.ui.com (Site Manager).
  • The printer powered on and connected to the network.
  • Access to the printer’s own menu or settings page, and to whatever sends it jobs (POS app, tablets, office computers).
  • A fresh UniFi backup (see our backup guide).
  • A quiet time before opening or after close, about 30 minutes per printer the first time.

Steps

  1. Find the printer in UniFi.
    1. Open the UniFi Network application and go to Client Devices (called Clients in some versions).
    2. Look for the printer. If you are not sure which entry it is, print a network or configuration page from the printer’s own menu. It lists the printer’s current IP address and its hardware (MAC) address. Match either one to the list.
    3. Write down the current IP address.
  2. Give it a clear name. Click the device and rename it to something anyone will recognize, like “Front counter receipt printer” or “Kitchen printer 1.” The next time something goes wrong, you will find it in seconds.
  3. Take a backup of your UniFi settings. It only takes a minute and it is your way back if a setting goes wrong.
  4. Turn on Fixed IP Address.
    1. With the printer selected in Client Devices, open its Settings.
    2. Turn on Fixed IP Address.
    3. The simplest choice is to keep the address it has right now. That way anything already set up to use that address keeps working.
    4. Optional: Ubiquiti’s help article shows you can also turn on Local DNS Record and give it a name such as kitchen-printer. Computers that use your UniFi gateway for DNS can then find the printer by that name instead of a number.
    5. Click Apply Changes.
  5. Restart the printer and check the address.
    1. Turn the printer off, wait about 30 seconds, and turn it back on.
    2. Print another network or configuration page and confirm the IP address matches the one you fixed in UniFi.
    3. If it shows a different address, check whether someone set an address on the printer by hand earlier (often under the printer’s network or TCP/IP settings, labeled Manual or Static). Set it back to automatic (DHCP) so it takes the address UniFi is reserving, then restart it again.
  6. Point everything at the fixed address.
    1. In the POS or kitchen display app, check the printer settings and confirm it uses the fixed address. If it was set up by searching the network, remove the printer and add it again by IP address.
    2. On office computers, if the printer was added by searching the network, consider removing it and adding it again using the IP address (or the local name from step 4).
    3. Send a test print from every device that uses this printer: each register, each tablet, each office computer.
  7. Rule out weak WiFi.
    1. Plug the printer into a network cable if there is a jack or switch port nearby. A wired printer does not drop off WiFi, and it is the best fix for a receipt or kitchen printer that never moves.
    2. If it has to stay on WiFi, look at the printer in Client Devices and check its signal. A printer behind a steel shelf, inside a cabinet, or at the far end of a kitchen may be hanging on by a thread. Our access point placement guide covers what to do about that.
  8. Check the printer’s sleep setting. Some printers turn off their network connection when they go into deep sleep and take a while to come back. If yours goes offline after sitting idle, look in the printer’s power or energy settings for an option that keeps the network active in sleep, or lengthen the time before it sleeps. The printer’s manual or support site will have the exact setting.
  9. Watch it for a week. Ask staff to tell you the next time it says offline, and note the time. If it still happens with a fixed address, a good signal or a cable, and sleep settings checked, the problem is likely the printer or the app, and the vendor’s support line is the next call.

Test checklist

  • Printer found in Client Devices and given a clear name.
  • UniFi settings backup taken before changes.
  • Fixed IP Address turned on, keeping the current address.
  • Printer restarted and its configuration page shows the fixed address.
  • Printer set to get its address automatically (DHCP), not by hand.
  • POS, tablets, and office computers point at the fixed address (or local name).
  • Test print sent from every device that uses the printer.
  • Wired if possible; if on WiFi, signal checked where it sits.
  • Sleep setting checked.
  • One week with no “offline” reports.

Cautions

  • Do this before opening or after close. Changing printer settings and restarting it mid-shift stops orders or tickets.
  • Do not set an address on the printer by hand and a fixed address in UniFi unless you know they match and the address is not one UniFi will give to another device. Two devices on one address knock each other off the network. If in doubt, keep the printer on automatic and let UniFi do the reserving.
  • If you later move the printer to a different network (for example, a separate network for devices, as in our IoT separation guide), its address will change. Set the fixed address again on the new network and update every device that prints to it.
  • Some POS and kitchen printers are set up and managed by your POS provider. If you cannot reach the printer settings in the app, call their support before you change anything.
  • If you change your staff WiFi password, a WiFi printer has to be reconnected with the new password. The fixed address stays the same once it is back on.
  • Menu names move between UniFi versions. If you cannot find Client Devices, Fixed IP Address, or Apply Changes, use the search box in the UniFi app or check Ubiquiti’s help article above.

Running a shop, office, or restaurant in New Hampshire and tired of restarting the printer?

Book a free walkthrough or get a quote

The weekly note

A short email on tech and the home lab, from the same engineer. Confirm from your inbox before the first issue. Unsubscribe whenever you want.