The error "the document failed to print" or "the test page failed to print" indicates that there's communication issue between the computer and the printer. Have you tried connecting the printer on another usb port? Is there any error on the control panel of the printer?
Here's the complete troubleshooting steps for you, please download a document I've prepared for you from this
LINK and follow the step by step instructions.
If nothing's helpful, try it on another computer and make sure it works.
Let me know if you need further help.
Good Luck.
Thanks for using
FixYa.