Weekly Deals
Save up to 62% on select products.
Plus, get FREE shipping storewide.

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 3.8 out of 5 by 87.
  • y_2023, m_9, d_23, h_3
  • bvseo_bulk, prod_bvrr, vn_bulk_3.0.35
  • cp_1, bvpage1
  • co_hasreviews, tv_0, tr_87
  • 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, 30ms
  • REVIEWS, PRODUCT
Rated 1 out of 5 by Unhappy customer 22 from Horrible Never worked, kept buying ink as was told it was dried out. Only printed 50 pages total and company will not provided any assistance
Date published: 2020-07-01
Rated 3 out of 5 by Cam26 from Cam Work fairly well. Does the job. Though it has to do a song and dance before prints- every time. Meaning it is a bit noisy and it is not speedy. Needs tone reset too often.
Date published: 2020-04-28
Rated 4 out of 5 by fefe from This printer does everythng, however.... It does everything as noted, however I cannot get it to print and cannot find the instructions to get it connected. I have the disk but it does not work or not getting me connected. Please tell me how man cords are there to connect the printer, it is wireless. I only printed on it about 7 times since 2016 when I purchased it any the all in one wireless PC. HELP. Thank you.
Date published: 2020-01-31
Rated 5 out of 5 by LarryWB52 from Amazing Machine For me, purchased in 2014, this machine has been "bullet-proof". Others have "borrowed" its capabilities to copy, scan, and print. Will definitely get another in the HP 2500 series when, OR IF, this ever becomes obsolete!
Date published: 2020-01-28
Rated 5 out of 5 by Shannonmp1981 from Nice features! Seems to work great! Was wondering if this is blue tooth capatible? I have an iPhone 8 and wanted to print right from my phone, do I need to download a certain program from the App Store?
Date published: 2019-03-27
Rated 5 out of 5 by BigEd08 from Great features Been using this printer for a couple of years now and it still performs great.
Date published: 2018-06-11
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 1 out of 5 by Timeka from Sucks! This printer only works proficiently EVERY time when using the Ethernet cable or with your IPhone! Trying to print wirelessly on your laptop, which is the ENTIRE purpose, forget it! I'ved had this thing for a while and have NEVER been successful printer wirelessly! JUNK!
Date published: 2016-07-29
  • y_2023, m_9, d_23, h_3
  • bvseo_bulk, prod_bvrr, vn_bulk_3.0.35
  • cp_1, bvpage1
  • co_hasreviews, tv_0, tr_87
  • 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, 3ms
  • 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_2023, m_9, d_22, h_3CST
  • bvseo_bulk, prod_bvqa, vn_bulk_3.0.35
  • 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, 36ms
  • QUESTIONS, PRODUCT
Return and exchange information
HP.com will accept returns or exchanges for this product up to 30 days after delivery. A restocking fee may apply. For details, please visit: https://www.hp.com/us-en/shop/cv/returnsandexchanges.