HP DeskJet 2540 Manual — Setup, Troubleshooting & WiFi Guide
The HP DeskJet 2540 is a compact all-in-one inkjet printer offering wireless printing, copying, and scanning for everyday home use. It supports Wi-Fi Direct and WPS wireless setup, making it easy to print from laptops, smartphones, and tablets without a router. This page covers setup instructions, WiFi connection methods, troubleshooting tips, cartridge maintenance, and full technical specifications.
Product Setup
Unbox and Power On
Remove all packing materials and tape from the printer. Plug in the power cord and press the On button to power on the HP DeskJet 2540. Wait for the printer to complete its initialization sequence before proceeding.
Install Ink Cartridges
Open the cartridge access door and wait for the print carriage to move to the center. Remove the pink protective tape from the HP 61 tri-color and black ink cartridges, then insert each cartridge into the correct color-coded slot and press until it snaps into place.
Load Paper and Install Software
Load plain white letter or A4 paper into the input tray and open the output tray. Insert the printer software CD into your computer and follow the on-screen instructions, or download the latest driver from hp.com/support to complete software installation.
Align Ink Cartridges
After installation, align the ink cartridges for best print quality. In the printer software, click Print & Scan, then Maintain Your Printer, and select Align Ink Cartridges. Place the printed alignment sheet face-down on the scanner glass and press Start Copy Black to complete alignment.
Pro-Tip: Do not touch the copper-colored contacts or the ink nozzles. Touching these parts can result in clogs, ink failure, and bad electrical connections.
WiFi Connection Guide
WPS Push Button Setup
Press and hold the Wireless button on the HP DeskJet 2540 for more than 3 seconds until the wireless light begins blinking, then press the WPS button on your router within 2 minutes. The printer will automatically connect to your 2.4GHz wireless network and the wireless light will stop blinking once connected successfully.
HP Wireless Direct (No Router Required)
Press the Wireless Direct button on the printer control panel to enable HP Wireless Direct, which allows smartphones, tablets, and computers to connect and print directly to the DeskJet 2540 without a wireless router. Security is enabled by default — press and hold the Wireless Direct button for more than 3 seconds to print the information page containing the password.
Troubleshooting FAQ
How do I improve poor print quality?expand_more
How do I clear a paper jam?expand_more
My HP DeskJet 2540 won't print — what should I do?expand_more
How do I fix an ink cartridge problem or error?expand_more
How do I resolve copy and scan issues?expand_more
Important Safety Instructions
- Always turn off the HP DeskJet 2540 using the On button and wait for the On button light to go out before unplugging — this prevents cartridges from drying out.
- Do not open or remove tape from HP 61 or HP 61XL cartridges until you are ready to install them, as leaving the tape on reduces ink evaporation and extends cartridge shelf life.
- If you remove a cartridge from the printer for any reason, reinstall it as soon as possible — cartridges left unprotected outside the printer for more than 30 minutes risk printhead damage.
- Monitor estimated ink levels regularly through the printer software and replace HP 61 or HP 61XL cartridges before print quality becomes unacceptable to avoid printing interruptions.
Replacement Ink Cartridges
The HP DeskJet 2540 printer uses genuine HP 61 / HP 61XL ink cartridges. Select your cartridge below to purchase replacement cartridges on Amazon:
Technical Specifications
| Feature | Specification |
|---|---|
| Printer Type | All-in-One Color Inkjet (Print, Copy, Scan) |
| Compatible Cartridges | HP 61 / HP 61XL (Black and Tri-Color) |
| Wireless Connectivity | Wi-Fi 802.11b/g/n (2.4GHz only), WPS, HP Wireless Direct |
| USB Connectivity | USB 2.0 Hi-Speed (cable recommended 3m / 10 feet or less) |
| Print Speed | Varies by document complexity; Draft mode available for faster output |
| Maximum Print Resolution | Up to 4800 x 1200 optimized dpi (Color); 1200 x 1200 dpi (Black) |
| Supported Operating Systems | Windows XP, Vista, 7, 8; compatible Mac OS versions |
| Related Models | HP DeskJet 2541, HP DeskJet 2542 |
| Network Features | Wireless printing, HP Wireless Direct (no router required), WPS PIN and Push Button methods |
| Phone Support | 1 year phone support (North America, Asia Pacific, Latin America); extended plans available at hp.com/support |