Allow me to welcome to HP Support Forums! It is a great platform to get help from the community, get suggestions and find what has worked for others!
I understand you are getting scanner error on your LaserJet printer. I see that you have performed all the relevant troubleshooting steps to resolve the issue. This error might display when extra weight or pressure is applied to the scanner glass, such as when scanning an open book. The weight or pressure can stall the scanner mechanism. If anything is kept on the scanner, please remove the same and try a power drain again:
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 (This is important) 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.
If the issue persists, then it could be a hardware problem with the machine. I would request you contact the HP phone support for further assistance.