[ROOT] Postscript file

From: Suzanne Panacek (spanacek@fnal.gov)
Date: Fri Jun 28 2002 - 14:55:54 MEST


Hi Josh,
I am forwarding your message to roottalk.
Suzanne
----- Original Message ----- 
From: Joshua Dyer 
To: rootdoc@pcroot.cern.ch 
Sent: Thursday, June 27, 2002 4:00 PM


Hello root people

I am trying to run a macro, and I keep running into a certain problem.
In the macro, I need the output saved as a post script file and the macro
needs to be run on many different data sets.  I want to be able to input the
name I would like the .ps file to be saved as without editing the macro each
time.  I tried:

TString PostScriptName;  //var for the name of the post script
  
cout << "What do you want to name the post script file?"  << endl;
cout << "(Please include the .ps and quotes)" << endl;
cin >> PostScriptName;

TPostScript *ps = new TPostScript(PostScriptName, 112);

This does not work.  I can't seem to figure out how to do such an input.
Please help.  Thanks.

Joshua M. Dyer



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:58 MET