Questions tagged [airprint]

AirPrint is the name of Apple's printing framework for iOS.

AirPrint is the name of Apple's printing framework for iOS. It allows apps to implement the ability to print out text, images, and other data over WiFi, through select AirPrint compatible printers on a network.

211 questions
4
votes
2 answers

AirPrint the contents of a Text View using Swift

I have a UITextView and I need to AirPrint the contents using Swift. I've tried to adapt Object-C code as much as possible, but I don't know Object-C (or how to convert it to Swift) so it has been quite a challenge. Here is what I have so far: …
Jim Barber
  • 2,139
  • 2
  • 13
  • 8
4
votes
1 answer

Printing from Android over AirPrint?

Is this possible? I checked out printing to an AirPrint printer from Android, but it was closed for "not being a question" (I don't really know why, it seemed like a legitimate question to me) and the only answer to it totally doesn't answer the…
Wakka02
  • 1,491
  • 4
  • 28
  • 44
4
votes
1 answer

Function that sends an image to AirPrint

Im trying to find a function that lets me print using AirPrint. I have a button btnPrint, that when pressed, should print myPic.jpg to the default AirPrint device. But I cannot figure out if there even is such a function. I cannot find a lot of…
user1607498
  • 79
  • 1
  • 8
4
votes
1 answer

Trying to customize iOS UIPrint print options

I am trying to modify the printing options that appear when using UIPrint. UIPrintInteractionController *pic; void (^completionHandler)(UIPrintInteractionController *, BOOL, NSError *) = ^(UIPrintInteractionController *printController, BOOL…
4
votes
2 answers

Resize UIImage for UIPrintInteractionController

I'm currently working on a possibility to print the content of a view via Airprint. For this feature I'm creating a UIImage from the view and send it to UIPrintInteractionController. The problem is that the image is resized to the full resolution of…
AlexVogel
  • 10,601
  • 10
  • 61
  • 71
3
votes
2 answers

How to preview UIWebview printing?

I want to printing UIWebView. User can choose print in portrait or landscape mode. But i don't know how to make interface preview because i can't calculate print area. Please help!
9891541
  • 251
  • 3
  • 14
3
votes
1 answer

iOS "Print" or "Send" icon

Where can I get that standard "Send" or "Print" icon that I'm "supposed" to use for AirPrint printing?
Brad
  • 11,262
  • 8
  • 55
  • 74
3
votes
2 answers

iOS 4.2 - Printing DOC, PPT, XLS, etc. with Apple AirPrint?

I've been playing with iOS 4.2 UIWebView + AirPrint. The problem, however, is that getting the viewPrintFormatter from the UIWebView I'm able to print PDF and images, but not DOC, DOCX, PPT, PPTX, etc. Those files are displayed properly in the…
cusquinho
  • 387
  • 1
  • 4
  • 14
3
votes
0 answers

Printing Webview Content to Airprinter with page breaks

I am trying to print webview content to airprinter. Everything works fine except I am not getting page breaks. I have searched in many forums but I didn't found the solution. This is my HTML Template

ios

Faisal Khalid
  • 620
  • 10
  • 22
3
votes
2 answers

Get the Job Status of UIPrintInteractionController in Swift

I have a problem: I want to know the status of the print job. I'm printing out a PDF file which is temporarily stored in a cloud drive. I want to delete that file after the print job is done. How can I realize this in swift? Here is a snippet of my…
CortexA8
  • 33
  • 6
3
votes
2 answers

AirPrint: Printing a pdf file directly to the printer

I want to print a pdf file (iOS 8.1, AirPrint, Swift) directly to the printer. Printing is fine, but I get this message in Xcode: 2014-11-04 12:34:50.069 PrintApp[801:266564] -[PKPaperList matchedPaper:preferBorderless:withDuplexMode:didMatch:] …
Michael
  • 51
  • 1
  • 8
3
votes
1 answer

Application tried to present inside popover with transition style other than UIModalTransitionStyleCoverVertical before printing

I am trying to print a txt file from within a iPad 8.x application. So, I have this code: - (void)onOpenWith:(UIButton *)theButton path:(NSString *)path { NSURL *URL = [NSURL fileURLWithPath:path]; if (URL) { …
Fabio Ricci
  • 395
  • 1
  • 4
  • 16
3
votes
1 answer

iOS7 Update - Airprinting PDF loaded in UIWebView yields scaled PDF to 50% of letter page size

A part of my application involves printing PDF's which are loaded into a UIWebView. The code I am using to airprint these PDF's loaded in my UIWebView was working fine for iOS version 6. Since the iOS7 update, my pages still print using the same…
eNc
  • 1,021
  • 10
  • 23
3
votes
1 answer

iOS enabling AirPrint for uiwebview contents

I am super new to XCode and App development. I currently am loading up a web based application in uiwebviews on the iPad. When one particular page is loaded, it displays a pdf file. I would like to be able to print this pdf file using AirPrint. I am…
eNc
  • 1,021
  • 10
  • 23
3
votes
0 answers

Printing in IOS without Airprint printer

I was wondering if there's a way to print from ios app without using UIPrintInteractionController ? As it supports only air print compatible printers. I have succesfully implemented Air print printing though using: NSString *path =…
nr5
  • 4,228
  • 8
  • 42
  • 82
1 2
3
14 15