Page 1 of 1

Landscape Printing with PrintPages

Posted: Tue Mar 09, 2004 8:35 pm
by 8442827
How do I persuade TChart 6 to print in landscape mode when using the PrintPages method?

I can set the orientation to landscape with various methods, but they all seem to generate their own print and then, when I issue a PrintPages(1, chart.NumPages) the resulting output is Portrait.

This is very frustrating! :(

Posted: Wed Mar 10, 2004 11:24 am
by Pep
Hi Steve,

have you tried using :

Uses ..., Printers;
Printer.Orientation := poLandscape;

Posted: Thu Mar 11, 2004 9:45 am
by 8442827
Hi Pep

I have now - and it works. Thanks.

I think the problem was that I was looking for a chart method rather than a printer one.

Cheers.