Print 2 receipts on the same A4 page
Posted: Fri Apr 22, 2011 12:56 pm
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)
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.
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 |
| |
|----------------------------------------------------|
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.