HP Deskjet 2540 All-in-One Printer
- This printer has been discontinued. Please shop for associated supplies.
- Print, copy, scan, wireless
- Print speed ISO: Up to 7 ppm (black), up to 4 ppm (color)
- 60 sheet input tray
- High yield ink availableSee all Specs
Simple wireless printing, plus quick and easy scanning and copying with an affordable all-in-one that's designed to fit in small spaces.
Easy wireless printing comes home
Print wirelessly from any room in your house with smartphone, tablet, and PC. Apple® AirPrint™ —print wirelessly from your iPad®, iPhone®, or iPod touch®. Automatically connect to your wireless network, right out of the box, using HP Auto Wireless Connect. Always have your printer on hand—scan directly to your mobile device with HP Printer Control.
Tackle more tasks for less cash
Full of value—print more for less with optional high-capacity cartridges.
Fits right in
Save your space with a compact all-in-one designed to fit where you need it.
Reduce your impact
Designed to conserve—save energy, using an all-in-one that’s ENERGY STAR® qualified. Small effort, big impact. Count on easy, free cartridge recycling through HP Planet Partners.
RECOMMENDED SUPPLIES & SUPPORT
Unleash your printing
Print wirelessly from your mobile device without a Wi-Fi code or password.
Allows you to print on both sides of the page, cutting your paper use by up to 50%.
Print, copy, scan, wireless
Print Speed - Black (ISO, laser comparable)
Up to 7 ppm
Print Speed - Color (ISO, laser comparable)
Up to 4 ppm
Print Speed - Black (draft)
Up to 20 ppm
Print Speed - Color (draft)
Up to 16 ppmEither after first page or after first set of ISO test pages. For details see: hp.com/go/printerclaims
First page out (ready) black
As fast as 17 sec
First page out (ready) color
As fast as 24 sec
Up to 600 x 600 rendered dpi
Up to 4800 x 1200 optimized dpi color (when printing from a computer on selected HP photo papers and 1200 input dpi)
Monthly duty cycle
Up to 1000 pages
Recommended monthly page volume
300 to 400
HP Thermal Inkjet
7 segment + icon LCD
Number of print cartridges
2 (1 black, 1 Tri-color)
HP 61 Black Ink Cartridge (~190 pages); HP 61 Tri-color Ink Cartridge (~165 pages); HP 61XL Black Ink Cartridge (~480 pages); HP 61XL Tri-color Ink Cartridge (~330 pages). [Average based on ISO/IEC 24711 or HP testing methodology and continuous printing. Actual yield varies considerably based on content of printed pages and other factors. For details see hp.com/go/learnaboutsupplies]
Compatible ink types
Dye-based (color); pigment-based (black)
HP PCL 3 GUI; PCL (HP Apps/UPD); URF (AirPrint)
Automatic paper sensor
Paper trays, standard
Paper trays, maximum
Mobile Printing Capability
Features wireless direct and local Wi-Fi connectivity to enable mobile printing via Apple AirPrint™ as well as other solutions. Supports printing from most smartphones and tablets using these operating systems: Android, iOS, Blackberry, Symbian, Windows 8, Windows RT.
1 Hi-Speed USB 2.0
Standard (built-in WiFi 802.11b/g/n)
1 Hi-Speed USB 2.0
Minimum system requirements
Mac OS X v10.6, OS X Lion, OS X Mountain Lion; Intel® Core™ Processor; 1 GB available hard disk space; CD-ROM/DVD or Internet; USBWindows 10, 8.1, 8, 7: 1 GHz 32-bit (x86) or 64-bit (x64) processor, 2 GB available hard disk space, CD-ROM/DVD drive or Internet connection, USB port, Internet Explorer; Windows Vista: 800 MHz 32-bit (x86) or 64-bit (x64) processor, 2 GB available hard disk space, CD-ROM/DVD drive or Internet connection, USB port, Internet Explorer; Windows XP SP3 or higher (32-bit only): any Intel® Pentium® II, Celeron® or compatible processor, 233 MHz or higher, 750 MB available hard disk space, CD-ROM/DVD drive or Internet connection, USB port, Internet Explorer 6 or higher
Compatible operating systems
Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista, Windows XP SP3 or higher (32-bit only); Mac OS X v10.6, Lion, Mountain Lion
Paper handling input, standard
60-sheet input tray
Paper handling output, standard
25-sheet output tray
Manual (driver support provided)
Envelope input capacity
Up to 5 envelopes
Finished output handling
Media sizes supported
Letter; legal; 4 x 6 in; 5 x 7 in; 8 x 10 in; No. 10 envelopes
Paper (brochure, inkjet, plain), photo paper, envelopes, labels, cards (greeting)
Recommended media weight
Supported media weight
Letter: 16 to 32 lb; HP envelopes: 20 to 24 lb; HP cards: up to 110 lb; HP 4 x 6 inch photo paper: up to 145 lb
Scan file format
JPEG, TIFF, PDF, BMP, PNG
Scan resolution, hardware
Up to 1200 x 1200 dpi
Scan resolution, optical
Up to 1200 dpi
Scan size (flatbed), maximum
8.5 x 11.69 in
Copy speed black (normal)
Up to 4.5 cpm
Copy speed color (normal)
Up to 3 cpm
Copy resolution (black text)
Up to 600 x 300 dpi
Copy resolution (colour text and graphics)
Up to 600 x 300 dpi
Up to 9 copies
Input voltage: 100 to 240 VAC (+/- 10%), 50/60 Hz (+/- 3 Hz).
10 watts maximum, 10 watts (Active), 0.2 watts (Off), 2.0 watts (Standby), 0.9 watt (Sleep)
ENERGY STAR® qualified; EPEAT ® Bronze
Operating temperature range
41 to 104°F
Operating humidity range
20 to 80% RH
One-year limited hardware warranty; For more info please visit us at http://support.hp.com
Dimensions (W X D X H)
16.74 x 12.06 x 6.17 in
Dimensions Maximum (W X D X H)
16.74 x 21.74 x 9.93 in
What's in the box
HP Deskjet 2540 All-in-One; HP 61 Black Ink Cartridge; HP 61 Tri-color Ink Cartridge; Software CD; Setup Poster; Power supply; Power cord; USB cable; [Average based on ISO/IEC 24711 or HP testing methodology and continuous printing. Actual yield varies considerably based on content of printed pages and other factors. For details see hp.com/go/learnaboutsupplies]
Yes, 1 USB
Hi, I was wondering if you can tell me how to hook it up to my new wireless network I can’t get it to hook up to wireless
Can I print to my HP DeskJet 2540 from my iPad?
my printer got disconnected, I'm 76 can someone help me
I do not remember my password for my HP printer Deskject 2540 so i can print from my phone
Where can I find the owner's manual for this product? We got a new router, and I can't print wirelessly now.
Return and exchange information
We are working to meet the current extraordinary customer demand for our products. Our website reflects current product availability but circumstances are dynamic. You may check your order status via our Track My Order page (Click Here to log in). We will send updates by email as soon as they are available. We greatly value your business and appreciate your ongoing patience as we work to get your order to you.
Prices, specifications, availability and terms of offers may change without notice. Price protection, price matching or price guarantees do not apply to Intra-day, Daily Deals or limited-time promotions. Quantity limits may apply to orders, including orders for discounted and promotional items. Despite our best efforts, a small number of items may contain pricing, typography, or photography errors. Correct prices and promotions are validated at the time your order is placed. These terms apply only to products sold by HP.com; reseller offers may vary. Items sold by HP.com are not for immediate resale. Orders that do not comply with HP.com terms, conditions, and limitations may be cancelled. Contract and volume customers not eligible.
HP’s MSRP is subject to discount. HP’s MSRP price is shown as either a stand-alone price or as a strike-through price with a discounted or promotional price also listed. Discounted or promotional pricing is indicated by the presence of an additional higher MSRP strike-through price.
The following applies to HP systems with Intel 6th Gen and other future-generation processors on systems shipping with Windows 7, Windows 8, Windows 8.1 or Windows 10 Pro systems downgraded to Windows 7 Professional, Windows 8 Pro, or Windows 8.1: This version of Windows running with the processor or chipsets used in this system has limited support from Microsoft. For more information about Microsoft’s support, please see Microsoft’s Support Lifecycle FAQ at https://support.microsoft.com/lifecycle
Ultrabook, Celeron, Celeron Inside, Core Inside, Intel, Intel Logo, Intel Atom, Intel Atom Inside, Intel Core, Intel Inside, Intel Inside Logo, Intel vPro, Intel Evo, Itanium, Itanium Inside, Pentium, Pentium Inside, vPro Inside, Xeon, Xeon Phi, Xeon Inside, Intel Agilex, Arria, Cyclone, Movidius, eASIC, Enpirion, Iris, MAX, Intel RealSense, Stratix, and Intel Optane are trademarks of Intel Corporation or its subsidiaries.
In-home warranty is available only on select customizable HP desktop PCs. Need for in-home service is determined by HP support representative. Customer may be required to run system self-test programs or correct reported faults by following advice given over phone. On-site services provided only if issue can't be corrected remotely. Service not available holidays and weekends.
Not all features are available in all editions or versions of Windows. Systems may require upgraded and/or separately purchased hardware, drivers, software or BIOS update to take full advantage of Windows functionality. Windows is automatically updated and enabled. High speed internet and Microsoft account required. ISP fees may apply and additional requirements may apply over time for updates. See http://www.windows.com.
HP Rewards qualifying and eligible products/purchases are defined as those from the following categories: Printers, Business PCs (Elite, Pro and Workstation brands), select Business Accessories and select Ink, Toner & Paper.My HP Rewards
*America’s most trusted printer brand: Based on 2022 semi-annual internal brand surveys commissioned by HP.
“Best All In One Printer” and “the easiest printer you’ve ever had to set up” from Wirecutter. ©2020 The Wirecutter, Inc.. All rights reserved. Used under license. https://www.nytimes.com/wirecutter/reviews/best-all-in-one-printer/
Help protect your printer and your data with Original HP cartridges: HP office-class printing systems are select Enterprise and Managed devices with FutureSmart firmware 4.5 and up, Pro devices, LaserJet models
The personal information you provide will be used according to the HP Privacy Statement