Airprint is what Apple products use to print to wireless printers on the network. So for instance what you just described to me is Airprint. If you could please print what is called a Printer Status Report by going to the Setup Menu on the printer and under Print Reports you will see it.
When it prints, I want to know two things. First is line 7 called the Firmware Version and line 17 which is the printer's URL. This is going to be the same as the IP address.
Since the device is able to find the printer but nothing prints, the first step is to turn off the printer and the Apple products with their power buttons. Then go over to the wireless router and remove the power cord for 10 seconds. Plug the power cord back in and after all the lights reboot, turn on the iPad and Mac and then turn on the printer last. Then try to print. Let me know if that helps. If not, please answer my two questions above.
--Airprint Basics--