-
×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 Deskjet 2540 Wireless connection disconnects and doesn't ...

Create an account on the HP Community to personalize your profile and ask a question
08-16-2020 10:06 AM
I have been connecting to the HP Deskjet 2540 Wirelessly and Wired, however the printer goes to sleep after 5 mins even though I have Auto-turn off feature turned off for my printer.
Even after sleep, if I try to print a page, it says Printer is offline and wont wake up.
Even after manually waking up the printer, if I try to print, it wont print as it says the printer is offline/cannot connect.
I tried opening the IP Address of the wireless internet connection but it keeps failing.
Can you please help?
Solved! Go to Solution.
Accepted Solutions
08-25-2020 03:20 PM
I am sending you a private message with the steps to talk to HP's support. Please check the mailbox icon at the top-right corner of this screen.
I hope this helps resolve this issue completely.
To thank me for my efforts to help you, please mark my post as an accepted solution so that it benefits several others.
Cheers.
Sandytechy20
I am an HP Employee
08-18-2020 02:45 PM
Welcome to the HP support community.
Use HP Print and Scan Doctor to check connectivity
Download HP Print and Scan Doctor.
-
Run HPPSdr.exe from the download location on your computer.
-
Once HP Print and Scan Doctor opens, click Start, and then select your printer.
-
If your printer is not in the list, turn it off and on, and then click Retry.
-
If there is a connection problem, follow the instructions in HP Print and Scan Doctor.
-
-
If a screen prompts you to turn on printer updates, click Yes.
-
If a screen prompts you to make your printer the default printer, click Yes.
-
Try to print.
Assign a manual IP address and that should fix the issue.
- Log into your router's configuration or setup page. ...
- Press and hold the Wireless button on the printer until it blinks, and then press and hold the WPS button on your router. ...
- Press the Wireless Direct button on the printer, and then open the list of available networks.
Setting a Static IP Address
Once you know your printer’s IP address from the page you printed, entering it is pretty easy. Here’s what you do:
- Run your Web browser.
- In the Web browser’s address bar, type the IP address of your printer and press Enter. Assuming you entered the right address, the HP printer control panel should appear.
- Click the Networking tab.
- Under Connections, click Wireless.
- Under IP Address Configuration, click Manual IP.
- Enter the IP address, subnet mask, and default gateway in the appropriate boxes.
- Click Apply.
You can refer this HP document for more assistance:- Click here
Let me know how it goes.
To thank me for my efforts to help you, please mark my post as an accepted solution so that it benefits several others.
Cheers.
Sandytechy20
I am an HP Employee
08-22-2020 07:53 AM - edited 08-22-2020 07:57 AM
Thank you for your response. I am still unable to resolve it using Option 1.
For option 2: What does this mean? "Press the Wireless Direct button on the printer, and then open the list of available networks."
Also for Option 3: how do I find the IP address of my printer so I can update it manually in my router?
HP Print and Scan doctor is unable to connect to my wireless printer itself. It can connect to it when I connect with USB.
THanks!
08-24-2020 01:31 PM - edited 08-24-2020 01:43 PM
Even after setting a manual IP address, I still am seeing the same issue.
This is the message from the IP address of the printer:
The settings have been saved successfully. However, communication between the browser and the printer has been lost.
To reconnect, make sure:
- The computer and the printer are on the same network.
- The printer's IP address is correct. Open a new browser window, and then enter the printer's IP address.
Tip: To obtain the printer's IP address, print the network configuration page. Also, you might be able to view the IP address from the printer's display. For more information, see the documentation provided with the printer.
Please let me know your thoughts
08-24-2020 03:58 PM
This might require remote access to the computer to fix the issue.
I request you to talk to HP support.
They might have multiple options to help you with this.
- Click on this link - https://support.hp.com/us-en/contact-hp?openCLC=true
- Select the country.
- Enter the serial of your device.
- Select the country from the drop-down.
- Click on "Show Options".
- Fill the web-form. A case number and phone number will now populate for you.
I hope that helps.
To thank me for my efforts to help you, please mark my post as an accepted solution so that it benefits several others.
Cheers.
Sandytechy20
I am an HP Employee
08-24-2020 04:30 PM
Hi Sandy,
Since the warranty on my product is expired it only gives me option to post on community but there is no chat or call option. Is there a direct contact number I can use to call or chat with support?
08-25-2020 03:20 PM
I am sending you a private message with the steps to talk to HP's support. Please check the mailbox icon at the top-right corner of this screen.
I hope this helps resolve this issue completely.
To thank me for my efforts to help you, please mark my post as an accepted solution so that it benefits several others.
Cheers.
Sandytechy20
I am an HP Employee