Use Print() function to print to file

Hi,

I want to print a graph to a file, using the Print() function. How can this be done?

(I want to do this because my graph has too many points to see all output in my terminal)

Thanks,
Japdhaes

root […] MyGraph->Print(); > MyFile.txt