For most HP all-in-ones, the alignment page will print until you complete the alignment process. This will be done whenever a new cartridge is inserted (among other times).
In that case:
If the alignment page was printed on plain white letter- (or A4) sized paper, place the alignment page face down on the scanner with the top right corner on the right, front corner of the scanner glass. Press the Start Scan button and wait until the Power light stops blinking.
Other issues that cause the symptom:
A cartridge that isn't properly seated or is damaged/dirty. Remove the cartridges one at a time and inspect them. Check the contacts for dirt and any tape remaining over the nozzles. If they are good, return them to the printer making sure that they click into place. Otherwise, replace them.
The contacts are dirty. Get some distilled or bottled water and cotton swabs or lint free cloths (coffee filters will work). Remove the cartridges and place them on a clean piece of paper with the contacts up. Unplug the printer while you are working (but after the cartridges are at the replacement position). Dip a swab in the water and squeeze out the excess water. Hold the cartidge by the sides. Wipe the copper contacts (do not touch the nozzles). Do this for all of the cartridges. Then wipe the contacts inside the printer with another damp swab.Allow the contacts 10 minutes to dry before reinstalling the cartridges, closing the access door and plugging in the power cord. Turn on the printer and then scan the alignment page.
The cartridges could be bad. Install new ones. Make sure to remove all of the protective tape. Then insert the cartridges (HP new cartridges) into the correct slot and make sure they click into place. Again scan the alignment page when it prints.
If the problem persists, try a power reset. Turn off the printer with the power button. Unplug all of the cords (electrical and data). Relocate the printer to another outlet; preferably the outlet should be on a different circuit. Plug the power cord into the wall outlet. Load the printer with A4 or letter-sized white paper. Now plug the power cord into the printer and turn it on. Do the complete alignment.
If the problem still persists, the unit needs service.
For details and pictures, see: http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01336348&tmp_task=solveCategory&lc=en&dlc=en&cc=us&product=428800
I hope this helps.