Save complete dash app to pdf

How do i take the screenshot of complete report after a button press and save it to pdf, in dash?

All of my graphs and inputs elements, just like a screenshot and emulating ctrl+p press?

I learned that dash vanguard report has a button that prints whole report. Does anyone have source code of it?

Hello did you ever figure out how this was done? I am looking for the same ability. Please let me know if you figured out a solution.

I recently figured out how to do this with clientside callbacks using the dom-to-image javascript function. There are some limitations. Check out Download component as image using clientside_callback