Page 1 of 1

How to print several TeeCharts in a piece of paper?Help me!

Posted: Fri Jun 24, 2011 9:03 am
by 15047346
Hi,dear geeks,can you help me?
First, I'm come from chinese,so English just so so.
Second, I use Microsoft Visual C++. I just want code which achieve : print two or more TeeCharts in one piece of paper!
I have writed some code, i define two TeeChart objects,like this:
CTChart m_tchartF,m_tchartS; //in a Diolg
.....
DDX_Control(pDX, IDC_TCHART1, m_tchartF);
DDX_Control(pDX, IDC_TCHART2, m_tchartS);
....(initialise these TeeChart,add some data)
m_tchartF.GetPrinter().PrintChart(); //i just know use this to print, but this only print a TeeChart in a piece
m_tchartS.GetPrinter().PrintChart(); //what's the code which could print two Charts in one piece ?
last
geeks,I deputy earthman dedicated to You !
Regards

Re: How to print several TeeCharts in a piece of paper?Help me!

Posted: Fri Jun 24, 2011 11:34 am
by 10054213
I would let a virtual printer do the job: FinePrint (http://fineprint.com/fp/) for example lets you print 2, 4 or 8 pages on one page.
It can be configured so that the pre-print GUI is not shown.

Re: How to print several TeeCharts in a piece of paper?Help me!

Posted: Thu Jun 30, 2011 8:42 am
by narcis
Hello,

Sorry for the delayed reply. You can print multiple charts in a single page as explained here.