Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Printing landscape and portrait pages in same report

edited February 2002 in General
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

Comments

  • edited February 2002
    Sarah,

    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


  • edited February 2002
    Thanks Martin, I had overlooked that property.

    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

  • edited February 2002
    Slow start this morning...

    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
  • edited February 2002
    Child type subreports (Subreport.PrintBehavior) can't be set to a different
    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

This discussion has been closed.