Printing a chart

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Reinhard
Newbie
Newbie
Posts: 10
Joined: Fri Apr 22, 2005 4:00 am

Printing a chart

Post by Reinhard » Fri Aug 31, 2007 6:05 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Aug 31, 2007 8:07 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply