Page 1 of 1

Printing a chart

Posted: Fri Aug 31, 2007 6:05 am
by 9236719
Hello,

using BDS2006, TeeChartPro 7.12 (7.08), VCL.NET application.

I want to print out a chart. I tried several methods (see below).
The problem is, that for example the dashed or dotted lines are printed
as solid lines. What can I do?

Code:

Chart.PrintPartialCanvas(Printer.Canvas,Eck);

or:

rct:=Trect.Create(0,0,800,600);
Meta:=chart.TeeCreateMetaFile(true, rct);
Printer.Canvas.StretchDraw(Eck,Meta);
//Printer.Canvas.Draw(50,50,Meta);
// with Draw, the chart is sprinted correct, but too small
Meta.Free;

Thanks and best regards
Reinhard

Posted: Fri Aug 31, 2007 8:07 am
by narcis
Hi Reinhard,

It is most likely that the problem is your printer driver. Could you please try upgrading it and also try using other printers? Also, please read the printing article on this thread, specially the Printing non-solid lines section.

Thanks in advance.