Hello -
I'm using TeeChart 7.06 with Delphi 7 and have been struggling to print some charts that contain dotted and dashed lines to an HP Color laser printer.
In the Forums on the Steema site, I was able to figure out how to set the
ChartPreviewer smooth setting by turning on the cpoAsBitmap Option for the component.
I have about 200 charts to print and I'd like to batch them, but I can't
figure out how to print as a Bitmap.
The code I had been using for the batch printing is as follows. Variable
dbcQnP is the TdbChart.
procedure TFormChartQs.PrintMonthlyCharts(StartDate,EndDate: TDateTime);
var ThisDate: TDateTime;
begin
ThisDate := StartOfTheMonth(StartDate);
while ThisDate < EndoftheMonth(EndDate) do
begin
SetChartDateRange(ThisDate,IncMonth(ThisDate));
dbcQnP.PrintLandscape;
ThisDate := IncMonth(ThisDate);
end; // while
end;
I've looked through the documentation, searched the examples, the forums, and the newsgroups, but I'm not seeing how to do it. Is it [easily] doable? Is there an undocumented Method of TdbChart, something like PrintAsBitmap?? (Wishful thinking?)
Will I need to create a bitmap from the Chart in an image component then
print the image?
Thanks,
Teri
Printing SMOOTH in batch mode
-
- Newbie
- Posts: 19
- Joined: Thu Jan 01, 1970 12:00 am
Re: Printing SMOOTH in batch mode
I'm also searching a solution for automatic smooth printing. The print with TCustomTeePanel.Print should look the same like TTeePreviewPanel.Print but Chart.Print seems not even use the PrintMargins.
Could you please help me?
Thanks in advance
Bert Kreisel
Could you please help me?
Thanks in advance
Bert Kreisel
Re: Printing SMOOTH in batch mode
Hi Bert,
Have you seen this thread, where a similar issue was discussed?
http://www.teechart.net/support/viewtop ... 21&p=44971
And of course the StrechDraw references in it:
http://www.teechart.net/support/viewtop ... 556#p37556
Have you seen this thread, where a similar issue was discussed?
http://www.teechart.net/support/viewtop ... 21&p=44971
And of course the StrechDraw references in it:
http://www.teechart.net/support/viewtop ... 556#p37556
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 19
- Joined: Thu Jan 01, 1970 12:00 am
Re: Printing SMOOTH in batch mode
Hi Yeray,
thanks, that works!
thanks, that works!