Hi, I'm Sadique. Welcome to JustAnswer. I'm reviewing your question now, and will post back with your reply ASAP.
Please click this link to buy the charger cord for your printer: https://www.amazon.com/UpBright%C2%AE-Adapter-OfficeJet-Printer-Charger/dp/B00N8AH86S
Please rate my service by clicking on one of the stars at the top > then click Submit.