How to fix a printer issue, when it fails self test
A printer generally fails the print-test, when either the cartridge is not installed properly or the toner or ink has got exhausted or there is some paper jam issue.
The solution to the problem
Follow the instructions to fix a printer issue, when it fails self test:
Install the cartridge correctly.
Remove all the pieces of packing material from the printer.
Clean the paper tray.
Check that the printer is not out of toner or ink.
General troubleshooting of the printer can resolve the persisting print-test issues. However, it is recommended to follow the manual provided by the printer manufacturer.