Black Lives Matter. Please consider donating to Black Girls Code today.

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?