Hi, as far as I know your wifi printer must be 'Air Print' enabled, which means it must be compatible with a certain type of printer. If it isn't, you can get various apps to do this for you, I use Epson Iprint which basically does the same.
Google 'Air Print' compatible printers to see if yours is on the list.