4th of July Sale
Celebrate freedom with massive savings up to 75% on select HP tech,
FREE shipping storewide. Protect your PC and get 25% off all PC Care Packs.

ENERGY STAR

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
This HP Deskjet all-in-one delivers easy wireless printing from any room in your home,[1] plus scanning and copying—at an affordable price. Set up quickly and preserve space with a compact design. Save more with optional high-capacity cartridges.[5]
Simple wireless printing, plus quick and easy scanning and copying with an affordable all-in-one that's designed to fit in small spaces.[1]

Easy wireless printing comes home

Print wirelessly from any room in your house with smartphone, tablet, and PC.[1] Apple® AirPrint™ —print wirelessly from your iPad®, iPhone®, or iPod touch®.[4] Automatically connect to your wireless network, right out of the box, using HP Auto Wireless Connect.[2] Always have your printer on hand—scan directly to your mobile device with HP Printer Control.[6]

Tackle more tasks for less cash

Full of value—print more for less with optional high-capacity cartridges.[5]

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.[3]

Unleash your printing

Print wirelessly from your mobile device without a Wi-Fi code or password.

2-sided printing

Allows you to print on both sides of the page, cutting your paper use by up to 50%.

Technical details

Functions

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

Resolution (black)

Up to 600 x 600 rendered dpi

Resolution (color)

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

Print Technology

HP Thermal Inkjet

Display

7 segment + icon LCD

Number of print cartridges

2 (1 black, 1 Tri-color)

Replacement cartridges

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)

Print languages

HP PCL 3 GUI; PCL (HP Apps/UPD); URF (AirPrint)

Automatic paper sensor

No

Paper trays, standard

1

Paper trays, maximum

1

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.

Connectivity, standard

1 Hi-Speed USB 2.0

Network ready

Standard (built-in WiFi 802.11b/g/n)

Ports

1 Hi-Speed USB 2.0

Memory, standard

Integrated

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

Duplex printing

Manual (driver support provided)

Envelope input capacity

Up to 5 envelopes

Borderless printing

No

Finished output handling

Sheetfed

Media sizes supported

Letter; legal; 4 x 6 in; 5 x 7 in; 8 x 10 in; No. 10 envelopes

Media types

Paper (brochure, inkjet, plain), photo paper, envelopes, labels, cards (greeting)

Recommended media weight

20 lb

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

Scanner type

Flatbed

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

Copies, maximum

Up to 9 copies

Power

Input voltage: 100 to 240 VAC (+/- 10%), 50/60 Hz (+/- 3 Hz).

Power consumption

10 watts maximum, 10 watts (Active), 0.2 watts (Off), 2.0 watts (Standby), 0.9 watt (Sleep)

Energy efficiency

ENERGY STAR® qualified; EPEAT ® Bronze

Operating temperature range

41 to 104°F

Operating humidity range

20 to 80% RH

Warranty

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

Weight

7.94 lb

Package weight

11.49 lb

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]

Cable included

Yes, 1 USB

HP Deskjet 2540 All-in-One Printer is rated 4.2 out of 5 by 62.
  • y_2024, m_6, d_24, h_5
  • bvseo_bulk, prod_bvrr, vn_bulk_3.0.42
  • cp_1, bvpage1
  • co_hasreviews, tv_0, tr_62
  • loc_en_US, sid_A9U22A, prod, sort_[SortEntry(order=SUBMISSION_TIME, direction=DESCENDING)]
  • clientName_hp
  • bvseo_sdk, java_sdk, bvseo-4.0.0
  • CLOUD, getAggregateRating, 7ms
  • REVIEWS, PRODUCT
Rated 5 out of 5 by dragonfly7 from excellent product This is a very good printer. Excellent price for all options it has. Prints great and the size is wonderful
Date published: 2017-05-17
Rated 5 out of 5 by lynne1 from great deal I'm a first time user for this type of printer(wireless) I'm totally enjoying the freedom I'm getting from having to get up and move from room to room just to print, so I really enjoy this feature. It's a great product for very little money. Well worth it. Thank you.
Date published: 2015-05-02
Rated 4 out of 5 by BigC010 from The printer has some good features Very good printer, it prints clearly, can print from a different location, and the printer is very reliable.
Date published: 2015-05-02
Rated 4 out of 5 by KatieGirl from Love all the features It is super fast and very clear.
Date published: 2015-05-01
Rated 5 out of 5 by Chiefie from Excellent value for all-in-one convenience I find this printer to be a fantastic value, as it has all of the features I need without a lot of fuss and requires a relatively small amount of space. Set-up was also easy, and all functions work to my full satisfaction. I would recommend this model to anyone who wants a copier/scanner combined with printing capabilities, especially since the features include the choice to automatically print on both sides of the paper.
Date published: 2015-04-30
Rated 5 out of 5 by prinmizuiro from This product is excellent I especially love the Wi-Fi feature. Great printer!
Date published: 2015-04-29
Rated 5 out of 5 by Spooph from Awesome little printer The ink doesn't dry, it works, apple print is genius, all around very happy. Would've been nice if there was a fax option for this as well, but for the price, it can't be beat!
Date published: 2015-04-29
Rated 5 out of 5 by LadyinNC from Great Value for the money Haven't used it that much, yet, but what I have used it for...good clean crisp copies and I am well pleased with the product.
Date published: 2015-04-29
  • y_2024, m_6, d_24, h_5
  • bvseo_bulk, prod_bvrr, vn_bulk_3.0.42
  • cp_1, bvpage1
  • co_hasreviews, tv_0, tr_62
  • loc_en_US, sid_A9U22A, prod, sort_[SortEntry(order=SUBMISSION_TIME, direction=DESCENDING)]
  • clientName_hp
  • bvseo_sdk, java_sdk, bvseo-4.0.0
  • CLOUD, getReviews, 4ms
  • REVIEWS, PRODUCT

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

Asked by: Ssanch@5
Visit this link for the setup guide for your printer. This is the best resource we have for setting up your printer. https://support.hp.com/us-en/product/hp-deskjet-2540-all-in-one-printer-series/5295960/model/5295961/manuals
Answered by: HP Team Grant
Date published: 2023-03-30

Can I print to my HP DeskJet 2540 from my iPad?

Asked by: Murman
At the time of its release, the HP Deskjet 2540 was compatible with AirPrint. As this printer has been discontinued, AirPrint compatibility may no longer be available.
Answered by: HP Team Grant
Date published: 2023-04-21

my printer got disconnected, I'm 76 can someone help me

Asked by: sandysue
We are sorry to hear about your challenges. We recommend reaching out to HP Support for further assistance: https://support.hp.com
Answered by: HP Live Expert Cheri
Date published: 2023-05-27

I do not remember my password for my HP printer Deskject 2540 so i can print from my phone

Asked by: Anonymous
I am sorry for the issues you are experiencing. I recommend reaching out to the HP Technical team so that they can resolve your issue quickly. You can speak to a representative here: https://support.hp.com/us-en
Answered by: HP Expert Dora
Date published: 2023-09-01

Where can I find the owner's manual for this product? We got a new router, and I can't print wirelessly now.

Asked by: Anonymous
Hello. Thanks for your question. You can find the user guide by going to https://support.hp.com Here are some instructions on how to restore WiFi mode on your HP printer. I advise looking under the "Restore Wi-Fi setup mode on all other HP printers" section, then "All other HP inkjet and ink tank printers without a touchscreen": https://bit.ly/3U7Yuf6 If you need further assistance, we recommend reaching out to HP Support: https://support.hp.com
Answered by: HP Live Expert Cheri
Date published: 2023-05-27
  • y_2024, m_6, d_24, h_5CST
  • bvseo_bulk, prod_bvqa, vn_bulk_3.0.42
  • cp_1, bvpage1
  • co_hasquestionsanswers, tq_5
  • loc_en_US, sid_A9U22A, prod, sort_[SortEntry(order=NUM_ANSWERS, direction=DESCENDING)]
  • clientName_hp
  • bvseo_sdk, java_sdk, bvseo-4.0.0
  • CLOUD, getContent, 42ms
  • QUESTIONS, PRODUCT
Return and exchange information
HP.com will accept returns or exchanges for this product up to 30 days from the date of delivery. A 15% restocking fee may apply. For details, please visit: https://www.hp.com/us-en/shop/cv/returnsandexchanges.