Is it possible to print from an ios device to a printer which is connected to a mac. The mac and ios device are both on the same wireless network.
If there isn’t an official way of doing this, the I am guessing I am going to have to write a Mac app which the ios app connects to, sends the data and then the mac app prints. For this, does anyone have rough guidelines as how I should do this? The main problem here for me is to send the data to mac over wifi.
Thank you.
It is up to the mac owner to get AirPrint to work on their printer. I think it’s possible to print to any mac-printable printer via AirPrint, although it may require a little work from the user. I had no problem getting this to work for my printer, which is not one of the few AirPrint-friendly ones.
Once that is set up, AirPrint works without any extra code from the iOS app. In other words, it is best practice to use the suggested AirPrint API, doing nothing special to try to support particular printers. To build in custom support for wifi printing from your app would be a huge load of work, and abstracting away this work is exactly the goal of device drivers. Motivated users can get this working today, and I am hoping Apple will continue to build in more support for AirPrint with future OS updates.