-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Printers
- Printing Errors or Lights & Stuck Print Jobs
- HP ENVY 5540, printer is in error state - error message

Create an account on the HP Community to personalize your profile and ask a question
04-12-2020 05:25 PM
I am able to airprint (wireless) from my HP lap top to the HP printer Envy 5540 and make copies, but cannot print from my desktop HP Pavilion p6-2220t computer. The PC is wireless printing. All functions are active or show no error on the printer network configuration. It gives me the error message "printer is in error state". I have followed to repair directions from MKazi posted 01-14-2018 09:50 AM. I removed all file, followed steps, and restarted. Printer shows as available but still cannot print from PC. Any help appreciated.
04-15-2020 11:21 AM
@Dave272, Welcome to HP Support Community!
this could be due to the connectivity or the drivers installed. Let us try to isolate and resolve the issue-
You may need to instead go into your router settings and try changing the channel manually. Experiment with different channels to see which one works best.
Use HP Print and Scan Doctor
Download HP Print and Scan Doctor and run the program. It will automatically diagnose and fix any printer connectivity issues.
For more information, go to https://support.hp.com/us-en/topic/printscandoctor
Update the printer firmware
Download available firmware updates from the HP website
With the printer on and connected to the computer, go to HP Customer Support - Software and Driver Downloads, and then identify your printer. Look for and install any available firmware updates. Refer to the document HP Printers - Updating or Upgrading Printer Firmware
Assign manual IP to the printer
The steps on how to set a manual IP address can be found here.
For the DNS servers please use 8.8.8.8 for the Manual Preferred DNS Server and 8.8.4.4 for the Alternate DNS server. These are Google’s public DNS servers
I recommend you delete the driver and root level and retry, follow the steps below:
1) In Windows, search for and open Programs and features
2) Select your HP Printer
3) Select Uninstall
4) In Windows, search for and open Devices and printers
5) In the Devices and Printers windows look for your HP printer. If you see it listed right-click on it and choose ‘Delete’ or ‘Remove Device’
6) Open up the run command with the “Windows key + R” key combo.
7) Type printui.exe /s and click Ok. (Note: there is a space in between “printui.exe”
8). Click on the “Drivers” tab
9) Look for the HP Printer driver. If you see it Click on it and click Remove at the bottom
10) Select Ok
11) Select Apply and Ok on the Print Server Properties windows
12) Close Devices and Printers.
Use this link to download and install the new driver. Configure the printer and try printing.
If the issue persists, try adding a TCP/IP port.
- Print a Network Configuration Report from the Printer Settings or Wireless menu.
- Right-click your printer, select Printer Properties, click the Ports tab and then click Add Port.
- Select Standard TCP/IP Port, and then click New Port.
- Follow the instructions to add a new port using the information listed on the Network Configuration Report.
- Try printing.
Alternatively, try the Windows built-in drivers. Follow the steps below:
• Go to Control Panel - Devices and Printers - Click on "Add a printer" and follow the on-screen instructions.
• When the page prompts for the drivers, select "Windows update". The driver list will be updated.
• Click HP, Hewlett Packard, or Hewlett-Packard in the Manufacturer pane, and then click the name of your printer in the Printers pane.
Refer to this document HP Printers - Installing and Using the Windows Built-in Print Driver for help
Hope this helps! Keep me posted.
Please click “Accepted Solution” if you feel my post solved your issue, it will help others find the solution. Click the “Kudos/Thumbs Up" on the bottom right to say “Thanks” for helping!
TEJ1602
I am an HP Employee