I want to create pdf files in drupal .module file.
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.
So how could I do this???
You should look first in the PHP library for creating PDF files. You can use TCPDF or many others in the PHP libraries: https://stackoverflow.com/questions/560583/which-is-the-best-pdf-library-for-php
After doing a quick search at Drupal Modules I found this module. And I also found this by Googling. The latter one seems to need no additional PHP modules and should be easy to integrate.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With