Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Saptaparnee on
Hi,
I have to merge contents from few nodes and write them in a file. I have to then download the file as pdf. Everything needs to be done programmatically.
I have searched for examples to help me with it, but have not found any helpful ones.
Could you please let me know how to write the contents in a file and then let a user to download the file as pdf?
Thanks,
Comments
I'm a newbie here but have
I'm a newbie here but have been sifting through pdf modules.
https://www.drupal.org/project/project_module
I haven't found a perfect module solution to what I'm working on but was able to prove I can create pdfs using https://www.drupal.org/project/wkhtmltopdf
There are 280 pdf modules. If you can figure out how to make 1 node out of many you should be able to convert it to pdf.
Best of luck to you!