Skip to content

Printer offline fix

Stop the printer going offline

Pick what the printer does and type its name and address. Get the PowerShell lines that move it off a WSD port, turn off SNMP status or clear Use Printer Offline, and paste the check back to see why Windows dropped it. It runs in your browser: nothing you type is sent to us.

Office Mono at 10.20.1.22 is an example. Type your own printer and the address on its configuration page.

What the printer does

Exactly as in Printers and scanners.

From the configuration page the printer prints.

Paste these in PowerShell, in order

First, does it answer

  • Test-NetConnection 10.20.1.22 -Port 9100

    TcpTestSucceeded True means the printer answers at this address. False means it is off, asleep or not at this address: fix that at the printer first, the lines below cannot.

Then the fix

  • 1Add-PrinterPort -Name 'IP_10.20.1.22' -PrinterHostAddress '10.20.1.22'

    Makes a Standard TCP/IP port at 10.20.1.22. If it says the port already exists, carry on with the next line.

  • 2Set-Printer -Name 'Office Mono' -PortName 'IP_10.20.1.22'

    Sends Office Mono to that port instead of the one it had.

Check it

  • $p = Get-CimInstance Win32_Printer | Where-Object Name -eq 'Office Mono'; $p | Format-List Name, PortName, WorkOffline; Get-PrinterPort -Name $p.PortName | Format-List Name, Description, PrinterHostAddress, SNMPEnabled

    Shows the port the printer uses, its address, SNMP status and Use Printer Offline. Paste the answer below to read it, and keep the PortName: Set-Printer with it puts things back.

Run them in PowerShell as administrator, on the computer whose printer shows offline.

If it still drops off, look in the printer's own web page for a deep sleep or energy saver setting that turns the network card off.

Read why it shows offline

Paste what the check printed. The example is a printer Windows added on a WSD port, the usual reason one drops off after it sleeps.

Found why Windows marks it offline.

  • Office Mono prints to the port WSD-3b1c9a2e-77f0-4d6c-9a51-0c2d5e8f1a10.
  • That is a WSD port. Windows finds the printer by discovery and marks it offline when the printer naps. Pick “after a while” above to move it to a port at its IP address.

When it still shows offline

Printer offline only means the computer cannot talk to the printer right now. Windows asks over SNMP or WSD, and a printer with a static IP address stays where the port expects it.

  • The test line fails too

    Then Windows is right: the printer is off, asleep, on another network or at another address. Print a configuration page at the printer and start from the address on it.

  • Only one computer sees it offline

    The fault is on that computer: its port, its Use Printer Offline switch or its own network. Run the check there and compare it with a computer that prints.

  • Everyone sees it offline at once

    The fault is at the printer or on the network. Look at its panel, then its address: a printer without a reserved address can move after a power cut.

  • It is a printer from a print server

    Each computer prints to the server, and the port is on the server. Run the lines there, on the server's printer.

Know a printer is down before the queue does.

Windows shows a printer offline on one computer at a time. In KyberCopy the relay in the copy room checks each printer, shows when it cannot reach one, and emails admins once it has been out for more than twenty minutes.

Book a demo