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 understand you are having an issue with the printer prints a test page but does not print from web pages. 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:
Have you tried with different browsers or applications?
Have you tried to reset the browser settings?
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.
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.
Next thing, I would suggest here is to reset the browser settings and check if that helps.
Close all Internet Explorer windows. Select the Tools button, and then select Internet options.
Select the Advanced tab, and then select Reset.
In the Reset Internet Explorer Settings dialog box, select Reset.
When Internet Explorer finishes applying default settings, select Close, and then select OK. Restart your PC to apply changes.