Thanks for your feedback. Does that work also for a specific postype ?
What's the best way to create a link to save the pdf file (I need to have a button in the content template page in order to give the opportunity to save the file). Do I need to create a shortcode for this and if yes, can you help with the code?
In fact, I have found a library that enables this feature. The issue is that all command lines are in php and I don't know what's the best way to link this php code with the button I have in my content template.
Do you have an idea how to do this in a simple way?