Setting the printer as the default, canceling print jobs, reinstalling drivers, and doing a quick reset are some practical solutions to resolve the HP Envy 5540 not printing issue. Let’s take a look at them:
Set Printer as Default Device
On your PC, click the Windows Start button.
Search and open Printers & scanners.
Scroll down the page. Uncheck the “Let Windows manage my default printer” option.
Scroll up and choose your HP Envy 5540 printer from the list.
Click on the “Manage” option.
Select “Set as default.”
Cancel Printer Jobs
At the bottom right of the taskbar, double-click on the printer icon.
Right-click on the print job you want to cancel.
Select the Cancel option from the list.
Click “Yes.”
Reinstall the Printer Driver
In the search bar, search for Device Manager.
Open Device Manager. Scroll and expand Printers, then right-click on the printer.
Choose the Uninstall device option.
In the Uninstall Device window, check the box next to “Delete the driver software for this device” and click “Uninstall.”
Restart your PC.
Turn on your PC and open a browser.
Go to the official HP Support page.
Select Printer.
Type your printer model number in the search box and click on “Submit.”
Click on the Download button Under Driver-Product Installation Software.
Install the driver.
Reset the Printer
Remove the power cord from the printer.
Unplug the other end of the cord from the outlet.
Disconnect the power adapter, and wait for a minute.
Reconnect the power cord at both ends, and your printer will reset automatically.
Source:- HP Envy 5540 Printer not Printing