Print pages in sequence

Stimulsoft Reports.NET discussion
Post Reply
Leandro Borges
Posts: 219
Joined: Tue Oct 27, 2015 4:19 pm

Print pages in sequence

Post by Leandro Borges »

Hello.

In my report I have Page 1 and Page 2. Each page corresponds to one sheet. I want Page 1 to follow Page 2.
Example:
Page 1 (Sheet 1)
Page 2 (Sheet 2)
Page 1 (Sheet 3)
Page 2 (Sheet 4)
Page 1 (Sheet 5)
Page 2 (Sheet 6)
and so on

It is possible ?

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Print pages in sequence

Post by Alex K. »

Hello,

Please try to use the Collate property of the report.

Thank you.
Leandro Borges
Posts: 219
Joined: Tue Oct 27, 2015 4:19 pm

Re: Print pages in sequence

Post by Leandro Borges »

Hello.

You can send me an example because I think it did not work.

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Print pages in sequence

Post by Alex K. »

Hello,

Please send us your report with test data for analysis.

Thank you.
Attachments
Capture.PNG
Capture.PNG (63.22 KiB) Viewed 3682 times
Leandro Borges
Posts: 219
Joined: Tue Oct 27, 2015 4:19 pm

Re: Print pages in sequence

Post by Leandro Borges »

Hello.

Here's an example.
Note that Page Two is printed five times and Page One is printed once.
The right way would be to print Page One each time Page Two prints.
How do I get Page One to print when Page Two is printed ?

Thank you.
Attachments
Page_Sequence.mrt
(6.13 KiB) Downloaded 417 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Print pages in sequence

Post by Alex K. »

Hello,

In this case, you should you implement it in your code.
After rendering report, merge and place rendered pages (report.RenderedPages) as you needed.

Thank you.
Leandro Borges
Posts: 219
Joined: Tue Oct 27, 2015 4:19 pm

Re: Print pages in sequence

Post by Leandro Borges »

Hello.

Sorted out.
I used a Subreport on page two to call page one.

Thank you.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Re: Print pages in sequence

Post by Edward »

Hi Leandro,

An interesting approach indeed.

Thank you for sharing this idea.
Edward
Post Reply