Welcome to the HP Support Forums! I understand that when scanning, you are getting lines on the page.
I will certainly do my best to help you.If this helps you to reach a solution, please click the "Accept as Solution" button down below in this message. If you wish, to say thanks for my effort to help, click the "Thumbs Up" to give me a Kudos.
The scanner mechanism bulb might not turn on when trying to scan or copy.
There are two main causes for this issue: It could be the scanner bulb temperature is too low or there is an internal or external electrical malfunction.
Make sure the printer is connected directly to a wall outlet. (don't use a powered hub or a surge protector) This ensures the printer is receiving full power and may help this situation.
Please keep the scanner lid open and then press the copy button.
Check if the scanner bulb glows.
Check if the scanner moves freely across the glass.