Thank you for showing your interest in HP Support Forums. It is a great place to find the help you need, from other users, HP experts, and other support personnel. For you to have the best experience on the HP forum, you could also visit our HP Forums Guide for the First Time Here? Learn How to Post and More.
I see from the post that you are having a black line while scanning on your HP Deskjet printer. Don't worry as I have a few steps to help you get through this concern,
To provide you with an accurate solution, I'll need a few more details:
Does that Scanner bulb light up?
Does the scanner bar move when you open the lid & press the copy button?
Have you checked if the unit can make a standalone copy? If ‘YES’ then it means the scanning hardware of the All-in-One works fine.
In the meantime, let's start off by performing a Hard reset on the printer and make sure that the printer is connected directly to the wall outlet and not to the surge protector.
Remove all the ink cartridges and then try to perform a hard reset on the printer.
With the printer turned on, disconnect the power cord from the rear of the printer and also unplug the power cord from the wall outlet.
Remove USB cable, if present.
Wait for 2-3 minutes, press and hold the power button on your printer for about 30 seconds to remove any additional charge.
Now plug back the power cable straight to a wall outlet without any surge protector or an extension cord and then plug back the power cord to the printer.
Turn on the printer and wait till warm-up period finishes and the printer is idle.
Now insert the ink cartridges and then try to print a test page and check if it works.