ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  ChartDirector Demo Print Woes
Posted by David Wilson on Oct-26-2011 05:37
As always, thanks for your prompt help with earlier questions.

Here is my immediate issue:

In the ChartDirector Demo, I bring up the simple pie chart (first chart). When I select File -> Print Preview, and the print preview is blank. If I print to an Adobe PDF file, the resulting file is contains an empty page. If I print to a printer, I get a blank sheet.

What gives?

  Re: ChartDirector Demo Print Woes
Posted by Peter Kwan on Oct-26-2011 23:24
Hi David,

Are you referring to the MFC sample code in "ChartDirector for C++"?

The menu (including the print menu) in the MFC sample code is generated automatically by Visual Studio when we create an MFC project. If you create a new MFC project using Visual Studio yourself, it might include the same print menu (it depends on which type of MFC project you create). The print function created by Visual Studio just prints a blank page. We have not changed that.

If you would like to print a chart image, you can just send it to the printer device context. An example is in:

http://www.chartdir.com/forum/download_thread.php?bn=chartdir_support&thread=1218366635#N1218472959

Hope this can help.

Regards
Peter Kwan