Skip to content
TECHNOARTH IT for offices and small businesses.
Hardware

Add a network printer by IP address in Windows 11

Step-by-step guide to installing the office network printer by IP address in Windows 11, testing the port first and repeating the setup on several PCs with PowerShell.

Add a network printer by IP address in Windows 11

A printer connected straight to the router, by cable or Wi-Fi, serves every computer in the office without relying on any PC being switched on. Whether it keeps working for years or “disappears” every week comes down to how it was installed: by IP address, each computer knows exactly where to send its documents.

In this article
  1. Which method to choose
  2. Before you start: a fixed address and a record
  3. Step 1: test the print port before installing
  4. Step 2: add the printer by IP address
  5. Step 3: install it on several computers with PowerShell
  6. Step 4: check it’s on the right port
  7. Security and data protection
  8. If something goes wrong
  9. Frequently asked questions

Which method to choose

MethodWhen it makes senseWeak spot
By IP address (this guide)Printer with a network cable or Wi-Fi, used by several PCsNeeds a reserved IP on the router
Automatic discoveryA quick test, or an office with one or two PCsMay create a WSD port, which depends on network discovery to find the printer
Shared from a PCUSB-only printerThe sharing PC has to stay on; prone to errors such as 0x0000011b

If the printer has a network port, always go for the IP address. Sharing from a computer is for USB printers, and that walkthrough is in share a printer on the network.

Before you start: a fixed address and a record

  1. From the printer’s control panel, print the network configuration page (the menu name varies by manufacturer; the model’s manual tells you where it is). It shows the current IP address and the MAC address.
  2. In the router’s admin page, create a DHCP reservation that ties that MAC address to an IP address. That way the printer always gets the same address, even after it has been switched off for days. If your internet provider’s router has no reservation feature, set a static IP on the printer’s own panel, outside the range the router hands out. The article on IP address conflicts explains how to choose that address without clashing with another device.
  3. Note it down in a simple office spreadsheet: model, IP address, MAC address, room and installation date. When someone replaces the router or calls in a technician, that one line saves an afternoon.

Step 1: test the print port before installing

Installing a driver for a printer the computer can’t reach only adds confusion. Open Windows PowerShell (it doesn’t need to be as administrator) and test port 9100, which most network printers use to accept jobs directly:

Command
Test-NetConnection -ComputerName 192.168.0.50 -Port 9100
Test-NetConnection output for IP 192.168.0.50 on port 9100, with RemotePort 9100 and TcpTestSucceeded True highlighted
Check the tested port (1) and the result (2): True means the printer accepts jobs at that address; False points to a wrong IP, the printer being on another network or the port being disabled on it.

Microsoft documents the command in Test-NetConnection. Read the result like this:

  • TcpTestSucceeded : True: the path is clear; go on to Step 2.
  • False with the correct IP: check that the PC and the printer are on the same network (the first three numbers of the IP usually match, as in 192.168.0.x) and that direct (raw) printing hasn’t been turned off in the printer’s admin page.
  • False, and the admin page won’t open in the browser either: the IP has changed or the printer is disconnected. Go back to the printed configuration page.

Step 2: add the printer by IP address

  1. Open Settings › Bluetooth & devices › Printers & scanners.
  2. Next to Add a printer or scanner, click Add device and wait for the search to finish.
  3. Even if the printer shows up in the list, to install it by IP click Add a new device manually, next to The printer that I want isn’t listed.
Settings › Bluetooth & devices › Printers & scanners with the row The printer that I want isn't listed and the Add a new device manually button highlighted
To install by IP address, don't wait for the printer to show up in the search: use Add a new device manually (1), which opens the Add Printer wizard.
  1. In the Add Printer wizard, select Add a printer using an IP address or hostname and click Next.
Add Printer wizard with the option to add a printer using an IP address or hostname selected and the Next button highlighted
Choose the IP address option (1) and click Next (2).
  1. Under Device type, choose TCP/IP Device, type the reserved IP address and continue. Windows queries the printer to identify the model, which can take a few seconds.
Add Printer wizard screen with TCP/IP Device selected and the printer IP address typed in and highlighted
Keep TCP/IP Device and type the IP shown on the printer’s panel or configuration page (1).
  1. Pick the driver. If the model isn’t listed, first install the manufacturer’s package (downloaded from its official website) or use Have Disk… and point to the driver folder.
  2. Give it a name any employee will recognize, such as “Front Desk Printer” or “Accounts Multifunction”, and print a test page.

This Settings route is the one Microsoft describes in Add or install a printer in Windows. The page notes that a Find drivers button may appear after installation: the printer already works, but some features only show up once the full driver arrives through Windows Update.

Step 3: install it on several computers with PowerShell

With five or ten PCs, repeating the wizard on each one invites different names and different drivers. In PowerShell as administrator, every machine ends up identical, as long as the driver is already installed on the PC (from the manufacturer’s package, for example):

Command
Get-PrinterDriver | Select-Object Name
Add-PrinterPort -Name "IP_192.168.0.50" -PrinterHostAddress "192.168.0.50"
Add-Printer -Name "Front Desk Printer" -DriverName "DRIVER NAME" -PortName "IP_192.168.0.50"

Replace DRIVER NAME with the exact name the first command lists. The parameters are in the official reference for Add-PrinterPort and Add-Printer. Save those three lines in a text file in the office IT folder: the next time a computer is replaced, the install takes a minute.

Step 4: check it’s on the right port

Once the installation is done, whichever method you used, confirm that Windows is using the IP address:

Command
Get-Printer | Format-Table Name, PortName
PowerShell with Get-Printer output showing the Front Desk Printer on port IP_192.168.0.50, highlighted
After installing, Get-Printer confirms the printer is on a port with the IP address (1), not a WSD port.

If the PortName column shows something starting with WSD, the printer was installed through automatic discovery. It works for as long as discovery works; if discovery fails, the PC can no longer find the printer. In Printers & scanners, click that printer, choose Remove and redo Step 2.

Security and data protection

An office printer receives contracts, payslips and customer records. Three habits reduce the risk:

  • Change the administrator password of the printer’s web page (opened by typing its IP address into a browser). The factory password is usually in the manual, within anyone’s reach.
  • Keep the firmware up to date from the manufacturer’s official website, just as you would with Windows.
  • Collect printouts promptly. For documents with personal data, check the manual to see whether the model offers held printing released with a PIN at the panel, a common feature on office multifunction printers.

If something goes wrong

Frequently asked questions

Can I use the printer’s name instead of its IP address?

The wizard accepts a hostname, but it only works if the office router always resolves that name. On small networks, a reserved IP address is more predictable.

I replaced the router. Do I need to reinstall the printer on every PC?

Not if the printer keeps the same IP address: recreate the reservation on the new router with the same address. If the IP range changed, create the new port as in Step 3 and run Set-Printer -Name "Front Desk Printer" -PortName "IP_new" in PowerShell as administrator on each PC (Set-Printer reference).

Wi-Fi or cable for the printer?

In an office, cable is more stable and doesn’t depend on signal strength. If Wi-Fi is the only option, keep the printer close to the router and give it a reserved IP address.

Share

About the author

TECHNOARTH Editorial Team

The TECHNOARTH newsroom: technology tutorials, guides, comparisons and news produced with AI assistance and checked against manufacturers’ official sources.

Reviewed by Arth Moraes — Arth Moraes is the editorial pen name of the person responsible for TECHNOARTH, who sets the agenda, reviews and approves every tutorial before publication and is accountable for corrections.