AirPrint in a Sencha Touch/PhoneGap app
Since the release of AirPrint in开发者_JAVA技巧 iOS 4.2
How can we print from a Sencha or jQTouch app wrapped in a PhoneGap wrapper?
You can't yet.
I can't speak for Android or Blackberry, but iOS apps can print to two types of printers:
- AirPrint certified printers
- Ones certified by Apple as part of their MFi Program (http://developer.apple.com/programs/mfi/). These tend to be for specific purposes, such as receipt printers though.
You can print to AirPrint printers from an iOS PhoneGap application using the Phonegap plugin called "PrintPlugin": https://github.com/phonegap/phonegap-plugins/tree/master/iPhone/PrintPlugin
精彩评论