If you happen to have an HP Photosmart 5510-e-AiO B111a, then it is supported by Apple's AirPrint as described here:
That basically means Apple would locate, install, and keep your drivers up to date for you.
Simply remove and reinstall your printer as described here:
Alternately you can get the drivers from Apple Update, or by downloading them directly from HP. I'll link the directions and drivers below. Hope this helps.