The HP DeskJet 2540 is an all-in-one printer in HP's DeskJet line, product number K9B59A.[2] For Windows 11 and 10, HP's printer-setup page offers the Full Feature Software and Drivers package for this model.[1] HP's support search also lists HP Deskjet Ink Advantage 2540 All-in-One Printer series.[2] The guide below covers setup on Windows 11 and 10 in 7 steps, with screenshots.
Driver download
Get the HP DeskJet 2540 driver with DriverDoc
- Finds the right driver for your HP DeskJet 2540
- Updates every other outdated driver in one click
- Real people help by phone or email
*The scan is free; registering DriverDoc unlocks driver downloads. Prefer the manufacturer's own installer? The free steps below show you how.
Installation on Windows 11 and 10
How to Set Up the HP DeskJet 2540 Driver for Windows 11 / 10
-
Find your printer model
First, visit support.hp.com/printer-setup. Search for 2540, and pick HP DeskJet 2540 Printer when it appears.
-
Grab HP's driver package
Now, scroll down to step 2, Full Feature Software and Drivers. Make sure it shows your version of Windows, then press Download. When it's done, open the file from the downloads list.
-
Run HP's installer
The installer opens. If Windows asks for permission, click Yes. Click Continue, and on the Software Selections screen, leave the recommended software and click Next.
-
Untick the extras
The next screen offers Google Chrome, already ticked. If you'd rather not have it, clear that box, then click Next. Read the agreement, tick the box below it, and click Accept.
-
Connect your printer
HP's software installs next. Keep the USB cable unplugged for now: wait until the installer tells you to connect it. Pick USB or wireless when it asks, and follow the prompts.
-
Finish setup: Activate
After that comes step 3, Activate. The installer confirms that the software is installed and your printer is connected. Press Continue Online, and HP walks you through finishing your setup, where you can choose services such as HP Instant Ink or HP ePrint.
-
Check it prints
Last step, go to Printers and scanners in Settings, select the DeskJet 2540, and choose Print test page. If it prints, you're all set.
Troubleshooting
If your 2540 isn't found, HP suggests a clean start: disconnect the USB cable, delete the printer from Printers and scanners, and restart your computer. Then run the installer again and connect directly to the computer, no hub or dock, when it asks.[3][4]

Video transcript
Need the HP DeskJet 2540 driver? I'll show you how to set it up in 7 steps.
First, visit support.hp.com/printer-setup. Search for 2540, and pick HP DeskJet 2540 Printer when it appears.
Now, scroll down to step 2, Full Feature Software and Drivers. Make sure it shows your version of Windows, then press Download. When it's done, open the file from the downloads list.
The installer opens. If Windows asks for permission, click Yes. Click Continue, and on the Software Selections screen, leave the recommended software and click Next.
The next screen offers Google Chrome, already ticked. If you'd rather not have it, clear that box, then click Next. Read the agreement, tick the box below it, and click Accept.
HP's software installs next. Keep the USB cable unplugged for now: wait until the installer tells you to connect it. Pick USB or wireless when it asks, and follow the prompts.
After that comes step 3, Activate. The installer confirms that the software is installed and your printer is connected. Press Continue Online, and HP walks you through finishing your setup, where you can choose services such as HP Instant Ink or HP ePrint.
Last step, go to Printers and scanners in Settings, select the DeskJet 2540, and choose Print test page. If it prints, you're all set.
If your 2540 isn't found, HP suggests a clean start: disconnect the USB cable, delete the printer from Printers and scanners, and restart your computer. Then run the installer again and connect directly to the computer, no hub or dock, when it asks.
Your HP printer is all set now, and the rest of your PC's drivers deserve the same care. To save time, I recommend DriverDoc, the one-click driver update solution. It finds and updates every driver in minutes, helping your PC run faster and more stable. And you get real, human support if you need it, not a chatbot. Download it and scan for free from the link below.
Frequently asked questions
Which driver does HP offer for the HP DeskJet 2540 on Windows 11 and 10?
For Windows 11 and 10, HP's printer-setup page offers the Full Feature Software and Drivers package for this model.
How do I install the HP DeskJet 2540 on Windows 11 or 10?
Follow the 7 steps in this guide: Find your printer model; Grab HP's driver package; Run HP's installer; Untick the extras; Connect your printer; Finish setup: Activate; Check it prints.
What if Windows can't find the HP DeskJet 2540?
If your 2540 isn't found, HP suggests a clean start: disconnect the USB cable, delete the printer from Printers and scanners, and restart your computer. Then run the installer again and connect directly to the computer, no hub or dock, when it asks.
What is the HP DeskJet 2540's product number?
HP lists the HP DeskJet 2540 under product number K9B59A. Its full name on HP's support site is HP Deskjet 2540 All-in-One Printer series.
Is the HP DeskJet 2540 an HP+ printer?
No. HP's setup page doesn't mark the HP DeskJet 2540 as an HP+ printer.
How do I keep the HP DeskJet 2540's driver and my other drivers up to date?
DriverDoc, a driver updater, scans your PC and updates outdated drivers in one click. The download and scan are free; a registered copy downloads and installs the updates.
Other HP DeskJet printers
| Model | Product no. | Windows setup | Guide |
|---|---|---|---|
| HP DeskJet 2540 | K9B59A | HP Full Feature Software and Drivers | ✓ |
| HP DeskJet 2652 | 6JY94A | HP app (Microsoft Store) | — |
| HP DeskJet 2720eHP+ | 26K67BR | HP app (Microsoft Store) | — |
| HP DeskJet 2755eHP+ | 26K67A | HP app (Microsoft Store) | — |
| HP DeskJet 2852eHP+ | 60K23A | HP app (Microsoft Store) | — |
| HP DeskJet 2855eHP+ | 588S5A | HP app (Microsoft Store) | — |
| HP DeskJet 2920 | 89F97B | HP app (Microsoft Store) | — |
| HP DeskJet 3630 | F5S48A | HP app (Microsoft Store) | — |
| HP DeskJet 3755 | J9V91A | HP app (Microsoft Store) | — |
| HP DeskJet 3772 | T8W88A | HP app (Microsoft Store) | — |
| HP DeskJet 4155eHP+ | 26Q90A | HP app (Microsoft Store) | — |
| HP DeskJet 4220eHP+ | 588K4B | HP app (Microsoft Store) | — |
| HP DeskJet 4255eHP+ | 588S6A | HP app (Microsoft Store) | — |
See also
More HP printer guides
Other printers set up with HP Full Feature Software and Drivers
Browse
Product lines
DriverDoc articles
References
- HP printer setup: HP Deskjet 2540 All-in-One Printer series · retrieved 2026-12-02
- HP support: HP Deskjet 2540 All-in-One Printer series · retrieved 2026-12-02
- HP printer setup (USB cable) · retrieved 2026-12-02
- HP Deskjet 1510, 2540 Printers - First time printer setup · retrieved 2026-12-02
- HP DeskJet 2540: User Guide · retrieved 2026-12-02
- HP DeskJet 2540: Reference Guide · retrieved 2026-12-02
External links
Independent guide. Not affiliated with HP; product names are trademarks of their owners.











