Possible to create app that takes photos and prints them automatically in iOS or Android?

view story

http://stackoverflow.com – I want to create an app that captures photos and automatically sends them to the printer just like a photo booth. Not quite sure how printing works on mobile devices or what printers support this. Ideally a photo printer. Thanks. (HowTos)