From time to time we discover that some linked community printers go offline, cease printing and print jobs start to queue on the print servers working Windows Server. In this text we’ll take into account why a community printer could go to offline state and the way to repair this drawback with out printer re-installation or print server restart.
Open the Print Management console on your print server, discover the printer with the Queue Status = Offline state, open its print queue properties and ensure that the “Use Printer Offline” possibility isn’t checked in its settings.
Then ensure that the printer is turned on and accessible over the community (test printer availability utilizing ping by IP handle, just be sure you can open the printer administration internet interface).
How does Windows decide community printer availability standing? In Windows 7 and newer, by default the SNMP (Simple Network Management Protocol) is used to question the community printer state. The print server sends an SNMP request to the printer and waits for a response. If no SNMP response has been acquired from the printer, such a printer is taken into account unavailable and goes offline on the print server. Let’s see the way to configure SNMP protocol settings for community printers on Windows print server.
First of all, ensure that your printer helps SNMP. Open your community printer administration internet interface and ensure that SNMP is enabled within the printer settings and the group title used for it’s public.
Find your printer within the Print Management console, open its properties and go to the Ports tab. Open the port settings: Standard TCP/IP port -> Configure Port. If your printer helps SNMP, ensure that SNMP Status Enabled possibility is checked, and the Community Name is about to public.
If your printer doesn’t assist SNMP, you should disable it within the printer port settings on the print server. Thus, Windows will cease sending SNMP packets to ballot the gadget state.
Make positive that the printer state has modified to Ready.
You can discover all printers with disabled SNMP on your print server utilizing the next PowerShell cmdlet (the built-in is used):
get-printerport |the place |choose title,protocol,description,printerhostaddress
The following PowerShell command will make it easier to to seek out ports of the community printers with the SNMP group title completely different from Public:
get-printerport |the place |choose title,protocol,description,printerhostaddress, snmpenabled, SNMPCommunity
If the test of SNMP settings has not helped to get your printer on-line, you need to test the next parameters.
- Make positive that the right IP handle of the printer is specified within the print port settings;
- Make positive that the port kind used is “Standard TCP/IP Port” as a substitute of “WSD Port”.
- Make positive that your firewalls are usually not blocking SNMP visitors (Ports 161/UDP and 162/UDP);
- Remove your printer and print port utterly and recreate them. Reinstall the printer drivers;
- Restart the spooler service:
- You can utterly disable SNMP polling for all printers on Windows by creating a brand new DWORD parameter with the title SNMPLegacy and the worth 1 on this registry key: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlPrint.