Sometimes a corrupted print job will get stuck in the print queue and cause subsequent print jobs to stack up waiting for the first one to be cleared.
Click the Start Orb, click Devices and Printers, right-click the icon for your HP DJ 2540 and then click "See what's printing."
Right-Click the earliest job and select Cancel.
If that doesn't work, select "Printer" and then "Cancel all documents"
If that doesn't work, the following will clear out all stuck jobs in the print queue (but if the problem is caused by a corrupted printer driver, you'll have more work to do):
- Open an Elevated Command Prompt (search for "cmd.exe"; right-click and select "Run as administrator")
- Type the following in the black Command Prompt window and press Enter after each line
net stop spooler
del /Q "%windir%\system32\spool\PRINTERS\*.*"
net start spooler
exit
To clean out a corrupted printer driver:
- Uninstall printer-related software from Control Panel > Programs and Features
- Open an Elevated Command Prompt (search for "cmd.exe"; right-click and select "Run as administrator")
- Type the following in the black Command Prompt window and press Enter
printui /s /t2
exit
Be sure to remove the driver AND the package.
C. Reinstall printer using freshly-downloaded software package. http://support.hp.com/us-en/drivers/selfservice/HP-Deskjet-2540-All-in-One-Printer-series/5295960/model/5295961