Print 2 different documents on the same A4 page

Stimulsoft Reports.NET discussion
Post Reply
User avatar
Fabio Pagano
Posts: 355
Joined: Mon Apr 16, 2007 12:38 pm
Location: Bari (Italy)

Print 2 different documents on the same A4 page

Post by Fabio Pagano »

Previously, i asked how to print one receipt twice on the same page (from a single record)

Link to post

solved using panels.

Now i need to print on an A4 page two different receipts at the same time (one in the upper half and one in the lower half), from two different records.

Can you give me some help?

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

Print 2 different documents on the same A4 page

Post by Alex K. »

Hello,

Please clarify, do you use one or several data sources for these two different receipts?
Also, can you send us a screenshot how it should look like.

Thank you.
User avatar
Fabio Pagano
Posts: 355
Joined: Mon Apr 16, 2007 12:38 pm
Location: Bari (Italy)

Print 2 different documents on the same A4 page

Post by Fabio Pagano »

I use only one data source, one table with one record for each receipt (eg. for five receipts i will have a table with five records).

It should look like this, two receipts on a single A4 sheet (i use "code" tag for alignment purposes):

Code: Select all

------------------------------------------------------
| RECEIPT NUMBER 1                                   |
|                                                    |
| Customer name: Mr. Smith                           |
|                                                    |
|                                                    |
| End of receipt number 1                            |
|                                                    |
|------------------- CUT HERE -----------------------|
| RECEIPT NUMBER 2                                   |
|                                                    |
| Customer name: Mr. Flanagan                        |
|                                                    |
|                                                    |
|                                                    |
| End of receipt number 2                            |
|                                                    |
|----------------------------------------------------|
For example, i'm wondering how many data bands i must design. Two?

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

Print 2 different documents on the same A4 page

Post by Alex K. »

Hello,

As a way, you can set necessary height for databand.
Please see the sample report in attachment.

Thank you.
Attachments
1050.SampleReport.mrt
(17.34 KiB) Downloaded 362 times
User avatar
Fabio Pagano
Posts: 355
Joined: Mon Apr 16, 2007 12:38 pm
Location: Bari (Italy)

Print 2 different documents on the same A4 page

Post by Fabio Pagano »

Worked ok. Thank you very much.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Print 2 different documents on the same A4 page

Post by Andrew »

Hello,

Ok!

Thank you.
Post Reply