Hi Jeff, you can set gErrorIgnoreLevel=1 (or higher) default=0) This variable is in TError.h included by all Root includes. Rene Brun On Thu, 30 Jan 2003, Jeff Hartnell wrote: > Hi, > I use the rather useful direct printing of a canvas to a postscript > file by doing something like: > { > TCanvas c1("c1"); > h1.Draw(); > c1.Print("c1.ps("); //write canvas and keep the ps file open > h2.Draw(); > c1.Print("c1.ps"); canvas is added to "c1.ps" > h3.Draw(); > c1.Print("c1.ps)"); canvas is added to "c1.ps" and ps file is > closed > } > > Often I may have hundreds of pages in the file. For every page I get a > message about the canvas having been added to the postscript file, see > below. Is there a way to turn off these messages if you know you are > going to get swamped? Could it be made an option in Print() or > something? It would be nice if it told you that it had opened the file > and that it had closed the file but not that it had printed yet > another page. > > Many thanks, > Jeff. > > Info in <TCanvas::Print>: Current canvas added to PostScript file > 9542-9589AdcVsPhNoErrors.ps > Info in <TCanvas::Print>: Current canvas added to PostScript file > 9542-9589AdcVsPh.ps > Info in <TCanvas::Print>: Current canvas added to PostScript file > 9542-9589AdcVsPhNoErrors.ps > Info in <TCanvas::Print>: Current canvas added to PostScript file > 9542-9589AdcVsPh.ps > Info in <TCanvas::Print>: Current canvas added to PostScript file > 9542-9589AdcVsPhNoErrors.ps > Info in <TCanvas::Print>: Current canvas added to PostScript file > 9542-9589AdcVsPh.ps > Info in <TCanvas::Print>: Current canvas added to PostScript file > 9542-9589AdcVsPhNoErrors.ps >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET