How to print a Chart application programmatically (without actually opening the application)

Hello.
I need to print in a PDF several Chart Applications from another application.
How can I do it programmatically?
It would be something like:

  • create PDF
  • add chart application 1
  • add chart application 2
  • print PDF
    Thanks a lot.