title: How to create pdf files in drupal?
body: <p>I want to create pdf files in drupal .module file.</p>
  
  <p>I have view of bulk operations in which I have added an operation send pdf file and download pdf file.
  I want to get some data from the database and and create a pdf file from it and when I select an operations it should create and send the pdf file in an email.</p>
  
  <p>So how could I do this???</p>