Hi sue_screena
I understand you are unable to scan.
I would download and run the Print and Scan Doctor to fix common printing and scanning problems.
http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c02073861&jumpid=ex_r4155/hho/ipg/ccdoc/trailhead_doc
I have included a document from Microsoft with the run time error that you can take a look at.
http://support.microsoft.com/kb/307817
I would uninstall and reinstall the printer. Usually you get that error when it is a software issue with the program.
If you require further assistance please provide the following so I can assist you better.
What operating system are you using?
Here is a document to check your operating system for Windows.
http://windows.microsoft.com/en-us/windows/which-operating-system
Here is a document to check your operating system for Mac.
http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&dlc=en&docname=c03204293#N53
Please provide the full name and product number of your printer.
http://h10025.www1.hp.com/ewfrf/wc/document?tmp_renderType=findModel&cc=us&dlc=en&docname=c03770424&lc=en
How is the printer connected? (USB/ethernet/wireless)