Printing landscape and portrait pages in same report
Is it possible to produce a single report with some pages landscape and the
rest portrait? For example one subreport out of several having the paper at
a different orientation to the rest.
If this is possible, then where and how is it best to modify the paper
orientation settings during processing???
I have a feeling it is not possible, but suggestions welcome.
Sarah
rest portrait? For example one subreport out of several having the paper at
a different orientation to the rest.
If this is possible, then where and how is it best to modify the paper
orientation settings during processing???
I have a feeling it is not possible, but suggestions welcome.
Sarah
This discussion has been closed.
Comments
your feeling is wrong.
this was the main reason why I had to replace QuickReport Professional for
years.
I suppose the subreport should print in landscape mode the rest in portrait.
Set in the Childreport PrinterSetup orientation to poLandscape. That`s all.
Cheers
Martin Cremer
My situation is slightly complicated because generally the report allows the
user to configure the page size, margins etc. - I apply values from a page
configuration dialog in the BeforePrint of the report and resize controls
etc. here to fit. But within the users choice of paper size and margins etc.
I now need to vary the orientation of parts of the report.
At first glance the report.Printersetup values seem to be over-riding the
ChildReport.Printersetup values. The subreport PrintBehaviour is pbChild and
I wonder if this prevents the Printersetup from taking effect?
Cheers
Sarah
It is pretty obvious that with a pbChild subreport the
ChildReport.PrinterSetup is not going to have effect. I'm using this as I
want consistant page header, footer and page numbering carried across
subreports, and if it does that then it is not going to apply different
page orientations!
Oh well. Anyone know how to rotate a metafile??
Sarah
printer setup, even though you can access this property. Section type
subreports are a different story. You can set the section type subreport to
print in any orientation you need. See the installed demos #51 in the main
report demo project for an example.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com