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
27
votes
4 answers

How to test printing from iPhone App if we do not have AirPrint enabled Printers?

Is there a way to test whether correct pages are being passed for printing from iPhone App if we do not have AirPrint enabled printers? Please let me know.
meetpd
  • 9,150
  • 21
  • 71
  • 119
22
votes
0 answers

printing to an AirPrint printer from Android

Has anyone heard of anyone having any success implementing Apple's new AirPrint protocol on Android? From various descriptions, it appears to be a fairly simple protocol employing Internet Printing Protocol, bonjour and…
JosephH
  • 37,173
  • 19
  • 130
  • 154
16
votes
1 answer

How to AirPrint multiple print formatters in one go?

My ultimate goal is to create multiple UIMarkupTextPrintFormatter and print them all in one print job. For example, the first formatter contains text that fills up the first page and a little bit of the second page. Although there is still space…
Sweeper
  • 213,210
  • 22
  • 193
  • 313
16
votes
4 answers

Printing the view in iOS with Swift

I am developing an app which requires visitor passes to be generated and printed directly from an iPad over AirPrint. I have looked everywhere to find out how to print a view but I can only find how to print text, webKit and mapKit. Is there a way…
Ben Sullivan
  • 2,134
  • 1
  • 18
  • 32
14
votes
3 answers

How to Add Images in UIMarkupTextPrintFormatter?

I'm trying to print a file using straight HTML, however, I am having difficulties adding images to the print file. How can I reference images in my project in the HTML that I want to print? Does the UIMarkupTextPrintFormatter support tags?
hwrdprkns
  • 7,525
  • 12
  • 48
  • 69
10
votes
3 answers

Generating a PDF using the new printing stuff in iOS 4.2

Historically, my app has generated confirmations as plain HTML and passed that HTML to the normal MFMailComposeViewController for emailing to the customer. I wanted to try to leverage the new printing classes in iOS 4.2 to render the HTML to a PDF…
glenc
  • 3,132
  • 2
  • 26
  • 42
7
votes
2 answers

iOS Air print for UIwebview

Can any one guide me how to print the contents of my UIWebview, FOR EX : - i would like to print my doc,xls,ppt file from UIWebview to print the contents. Please get some links or sample code to solve this problem Thanks in advance
siva
  • 1,402
  • 2
  • 14
  • 28
7
votes
3 answers

iPad/iPhone -- printing directly to a network printer without airprint popover

I've developing an iPad/iPhone application that requires that I print out a receipt on a network printer when I finish a transaction. I've managed to get airprint functionality working to some extent in that I can get the…
T. S.
  • 71
  • 1
  • 3
7
votes
2 answers

Is it possible to print from iPhone & iPad app?

From my application, how can I allow a user to print a document or page from an iPhone or iPad? Which versions of iOS support printing?
sri
  • 3,319
  • 7
  • 34
  • 48
7
votes
2 answers

iOS print without allowing UIPrintInteractionController to appear

I am researching a potential app for a client, and I had a question I wasn't able to find the answer on. What I would like to do is print automatically, without having the UIPrintInteractionController get displayed. An important point I should make…
coder
  • 10,460
  • 17
  • 72
  • 125
6
votes
1 answer

Printing UIImage using AirPrint causes cut-off content

I am printing out a UIImage using AirPrint but the margins aren't correct. This is what it looks like when it prints: Is there a way I can make it fit perfectly on the paper? Here's the code as requested: UIPrintInteractionController *pic =…
0xSina
  • 20,973
  • 34
  • 136
  • 253
6
votes
1 answer

Print styles overriding screen styles after AirPrint in iOS webview

I am working on a hybrid HTML5/iOS app that uses the Safari Webview. We are using AirPrint to allow the user print the contents of the webview. The problem I am having is that after the print dialog is opened, the print styles are taking affect on…
Eric
  • 907
  • 7
  • 13
6
votes
1 answer

Printing a PDF with UIPrintInteractionController ios 5 works but in ios 6 doesnt work and crash my app

I have a problem with UIPrintInteractionController I send a pdf to print and with a devices with ios 5 when i press print button is send the file to the printer and works. but when I test on a devices with ios 6 I doesn't work and crash the app. …
moynardos
  • 115
  • 1
  • 10
6
votes
3 answers

AirPrint Connection Refused Error

In my iOS app, I have the following code that is being used for AirPrinting a simple NSString. #pragma mark - Print -(IBAction)print:(id)sender { UIPrintInteractionController *pic = [UIPrintInteractionController sharedPrintController]; …
Sam Spencer
  • 8,492
  • 12
  • 76
  • 133
5
votes
1 answer

UIMarkupTextPrintFormatter leaves a 2-3 inches blank space on bottom of page

Trying to print an html page containing a table usingUIMarkupTextPrintFormatter. For some strange reason, the last row gets pushed to the second page when there is plenty of space (2-3inches) left on the first page. Even worse, when I remove the…
ED.
  • 231
  • 2
  • 4
1
2 3
14 15