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

Generate 2 A4 report pages to a A3 pdf

Hi TeamDM,

A customer asked if he could get a A4 report generated to a A3 pdf where 2 A4 pages would form one A3 page in a pdf document.
The report is currently setup as a A4 portrait report. He now generates a A4 pdf and afterwards he uses a pdf editor to merge and arrange every 2 pages together to form an A3 (landscape) report.

He would like to get rid of that extra step and get the A3 report right from ReportBuilder.

Kind regards,

Jeroen Röttink
JR-soft software solutions

Comments

  • Hi Jeroen,

    ReportBuilder is not designed to automatically handle this type of page arrangement.

    One option you might explore is creating an A3 sized report (landscape) with A4 sized columns. This way each "page" would contain information from two A4 pages in sequence.
    Best Regards,

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

    Thanks for the hint. The option with changing the layout to A3 landscape is working mostly for this report. Do you have an idea to mimic the PageNo/PageCount logic. The PageNo is working. I use a TppVariable calculated on ColumnStart. The PageCount should be the max(PageNo) calculated in the FirstPass, but this doesn't seem to be working.
    Kind regards,

    Jeroen Röttink
    JR-soft software solutions
  • Hi Jeroen,

    In my quick testing, I was able to determine the total number of columns using a TppVariable with LookAhead set to True.

    My test contains two integer TppVariables in the column footer, both set to calc on Start Column:

    Variable 1: Keeps a running total by increasing its value by one in the OnCalc: Value := Value + 1;

    Variable 2: Displays the total number of columns by setting Lookahead to True with the same calc logic: Value := Value + 1;
    Best Regards,

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

    When using the solution with Lookahead it is working in a simple report. It doesn't work when it contains a child subreport. I send you a testcase by email.
    Kind regards,

    Jeroen Röttink
    JR-soft software solutions
Sign In or Register to comment.