Hi,
Thanks for using the HP forum.
Can you download and install the FULL feature printer software from HP for your operating system:
http://support.hp.com/us-en/drivers/selfservice/hp-officejet-4500-all-in-one-printer-series-g510/3919445/model/3986394#Z7_3054ICK0K8UDA0AQC11TA930O2
Once you have downloaded and installed the FULL feature software, you will be able to print and scan.
Hope that helps.