Printer offline error? Fix the wrong port in 2 minutes
Your printer shows offline because Windows is pointing to the wrong port. Change the port to a Standard TCP/IP one and your printer snaps back online instantly.
Quick answer
Open Devices and Printers, right-click your printer, select Printer Properties > Ports tab, and uncheck WSD or FILE ports. Add a new Standard TCP/IP Port with your printer's IP address. Apply, and you're done.
Why this happens
I know this error is infuriating. You're trying to print a document, and Windows tells you the printer is offline—but it's on, connected to the network, and other devices print to it fine. The problem? Windows isn't talking to the printer through the right channel.
Here's the deal. When you install a network printer, Windows sometimes picks a WSD (Web Services for Devices) port or a FILE port. WSD ports are flaky—they depend on network discovery, and if your router or switch hiccups, Windows marks the printer offline. FILE ports aren't meant for network printers at all. A Standard TCP/IP Port bypasses all that. It's a direct, stable connection to the printer's IP address, and it just works.
This tripped me up the first time too. I spent an hour reinstalling drivers on a client's HP LaserJet before realizing the port was the culprit. Don't repeat my mistake.
Fix steps
- Find your printer's IP address. On the printer's control panel, go to Settings > Network > TCP/IP. Write down the IP (e.g., 192.168.1.105). Can't find it? Print a network configuration page from the printer menu.
- Open Devices and Printers. Press Win + R, type
control printers, and press Enter. - Right-click your printer and select Printer Properties.
- Go to the Ports tab. You'll see a list of ports. The one currently checked is marked with a checkmark. Note its name—it probably starts with WSD- or FILE.
- Click Add Port and select Standard TCP/IP Port, then click New Port.
- Enter your printer's IP address in the field. The port name auto-fills. Click Next—Windows detects the printer and finishes the wizard.
- Back in the Ports tab, uncheck the old port (WSD or FILE) and check the new Standard TCP/IP port. Click Apply, then OK.
- Test it. Print a test page. Your printer should respond instantly.
Alternative fixes if the main one fails
- Restart the Print Spooler service. Press Win + R, type
services.msc, find Print Spooler, right-click and select Restart. This clears stuck print jobs that can make the printer appear offline. - Reboot your router. Unplug it for 30 seconds, plug it back in. Sometimes the printer's IP changes—if it does, repeat the port change with the new IP.
- Disable SNMP status polling. In the Ports tab, select your new Standard TCP/IP port, click Configure Port, and uncheck SNMP Status Enabled. Some printers don't respond well to SNMP queries, and Windows misreads that as offline.
- Run the Windows Printer Troubleshooter. Go to Settings > Update & Security > Troubleshoot > Printer. It's basic, but it sometimes catches a driver issue or a stuck queue.
Prevention tip
Once you've switched to a Standard TCP/IP port, assign a static IP to your printer. Go into your router's DHCP settings and reserve the printer's IP address. This prevents the port from breaking when your router reboots and reassigns IP addresses. Trust me, it saves you from repeating this fix every few months.
If you still see offline after all this, check the printer's physical connection. A loose Ethernet cable or a weak Wi-Fi signal will cause this too. But 9 times out of 10, it's the port. You're welcome.
Was this solution helpful?