'Shiny Download tabPanel as PDF

I am creating a Shiny App. I am almost done, but I would like to add a download button. This download button should download the current tabPanel as a PDF. Do you have an idea or a tip how I can do this? Currently my user interface looks like this:

enter image description here

Thank you and greets from Switzerland



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source