Export of variables/arrays to PDF

I would like to export a set of arrays or a set of data to a PDF created on the computer when clicking a widget button in the game. Is that possible, and how? Thanks!

Bump. No-one done this? :slight_smile: