0

i want to print UITableView and UITextView to the paper printer.. what is the procedure to do that using UIPrintInteractionController

thanx in advance

yasirmturk
  • 1,924
  • 2
  • 22
  • 32

1 Answers1

1

You can only print image or PDF type data using UIPrintInteractionController.

I guess you should draw PDF of your UITableView or UITextView separate and then can print out using UIPrintInteractionController. Use the following guide to generate PDF Generating PDF Content

  • seems interesting, but what if i want to print the UI as is – yasirmturk Feb 15 '11 at 12:36
  • 1
    This seems to be perfect in my particular scenario as i wanted to print and mail the content of the UI so, [Convert the UI to PDF](http://stackoverflow.com/questions/2454309/get-a-pdf-png-as-output-from-a-uiwebview-or-uiview) , Mail or Print – yasirmturk Feb 23 '11 at 07:14