Hello davella12,
Welcome to the HP Forums! I understand your concerns with your Photosmart 6510. What is your operating system on your computer? Windows.
Please follow this HP document on 'Printer is offline' Message Displays on the Computer and the Printer Will Not Print.
Let me know if this document resolves your issue or not.
Looking forward to hearing from you.