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

Changing Paper Size within a report

edited July 2005 in General
Hi,

Delphi 6 and RB 7.03...

I am working on a template containing 4 sub-reports for printing 4 separate
signs to go on a taxi.

Page 1 should be landscape A4 (297 x 210).
Page 2 should be landscape Custom (840 x 210).
Page 3 should be landscape Custom (620 x 210).
Page 4 should be landscape Custom (465 x 210).

Although I can set different page sizes for each sub-report, the only way I
can get Preview to display everything is to set the MAIN page setup to the
largest page e.g. Custom (840 x 210). But then the smaller reports all
preview with the same 840 x 210 page dimensions, and look a bit odd.

Our printer capable of doing banner prints is currently out of action so I
can't yet prove whether or not they print OK, but I would like them to
preview correctly if possible...

Any suggestions as to what I am missing?

Regards,

Pete Colson.

Comments

  • edited July 2005
    Hi Pete,

    Be sure you are using Section style subreports to ensure each subreport gets
    its own page and there will be no conflict between the subreports and the
    main report settings. Take a look at Demo 51 for a good example of changing
    the printer setup for each subreport. This demo is located in the
    \RBuilder\Demos\1. Reports\... directory. (dm0051.pas).

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2005
    Nico,

    Thanks - worked a treat...


This discussion has been closed.