Pdf to send on the mail

Hi,
I have a running the plug pnp4nagios. I would like to generate my graphs to pdf and send the mail? I wanted to do such a thing as a daily, weekly and monthly reports in pdf sent to the email. Is it possible?

Does anyone know anything about this?

It should be possible to do it with a couple of scripts on a linux server… something like outputting the HTML page to disk, using a tool like html2pdf and then mail the result…