Page 1 of 1

Print 2 receipts on the same A4 page

Posted: Fri Apr 22, 2011 12:56 pm
by Fabio Pagano
I need to print on an A4 page two receipts at the same time, one for the customer and one for the seller, each the same size (half A4). The 2 receipts contains the same data. After printing, the page will be cutted in half by the seller: the upper half goes to the customer, the lower half remains to the seller.

The report should look like this (i use here the "code" tag for non-proportional fonts)

Code: Select all

------------------------------------------------------
| RECEIPT NUMBER 1                                   |
|                                                    |
| Customer name: Mr. Smith                           |
|                                                    |
| ---------------------- Body -----------------------|
| Article 1                                          |
| Article 2                                          |
|                                                    |
! ------------------ End Body------------------------|
|                                                    |
| End of receipt number 1                            |
|                                                    |
|------------------- CUT HERE -----------------------|
| RECEIPT NUMBER 1                                   |
|                                                    |
| Customer name: Mr. Smith                           |
|                                                    |
| ---------------------- Body -----------------------|
| Article 1                                          |
| Article 2                                          |
|                                                    |
! ------------------ End Body------------------------|
|                                                    |
| End of receipt number 1                            |
|                                                    |
|----------------------------------------------------|

As you can see, the upper half is equal to the lower half.

The datasource contains only the records needed to print one receipt (in other words, the datasource doesn't contain the data twice)

Can you give me some help?

Thank you.

Print 2 receipts on the same A4 page

Posted: Mon Apr 25, 2011 1:37 am
by Alex K.
Hello,

As a way, you can use 2 DataBands on panel.
Please see the sample report in attachment.

Thank you.

Print 2 receipts on the same A4 page

Posted: Fri Apr 29, 2011 7:41 am
by Fabio Pagano
Has worked very well, StimulReport is number one.

Thank you.

Print 2 receipts on the same A4 page

Posted: Fri Apr 29, 2011 2:15 pm
by Andrew
Great!

Thank you for your good words!