title: How to print in iOS 4.2?
body: <p>I want to integrate the print functionality in my app.</p>
  
  <p>The document I want to print will be in .doc or .txt format.
  I am not very experienced in iPhone development yet, so finding it difficult to implement it by following the Apple documentation.</p>
  
  <p>If someone could help me by posting some sample code, will be a great help.</p>