AirPrint for Developers
With AirPrint, it's easy to deliver photo and document printing in your iOS apps and OS X apps without the need to download or install drivers. AirPrint is built into most popular printer models and offers a complete set of features, including full-quality output, automatic media selection, and enterprise-class finishing options.
Guides and References
- Adopting AirPrintNew Learn how quick and easy it is to support AirPrint in your app and discover what's new and improved in the iOS printing system.
- Drawing and Printing Guide for iOS The definitive guide for adding printing to your iOS app.
- iOS Human Interface Guidelines—AirPrint Learn how to create the best experience when printing from your app.
-
UIKit Framework Reference
List of APIs from the UIKit Framework that allow printing from an iOS app.
- UIPrintInteractionController Class Reference
- UIPrintInteractionControllerDelegate Protocol Reference
- UIActivityViewController Class Reference
- UIActivity Class Reference
- UIPrintInfo Class Reference
- UIPrintPaper Class Reference
- UIPrintPageRenderer Class Reference
- UIPrintFormatter Class Reference
- UISimpleTextPrintFormatter Class Reference
- UIMarkupTextPrintFormatter Class Reference
- UIViewPrintFormatter Class Reference
Sample Code
- UIKit Printing with UIPrintInteractionController and UIViewPrintFormatter This sample code demonstrates printing one of various special iOS views.
- PrintPhoto This sample code demonstrates the ease of printing common items, such as images or PDFs.
- Using AirPrint to Print a Banner This sample code demonstrates the roll feed API, which allows printing on dynamic paper lengths, such as receipts or banners.
- Sample Print Page Renderer This sample code demonstrates leveraging UIPrintPageRenderer for custom prints that require the utmost flexibility.