Hello Intui,
Welcome to the HP Forums! I understand you are unable to scan a document using your Photosmart C4780. How is this printer connected? Wireless or USB?
Please follow this HP document on Communication Error between the Scanner and Your Computer in Mac.
Let me know if this document resolves your issue or not.
Looking forward to hearing from you.