Page 1 of 1

Print 2 different documents on the same A4 page

Posted: Tue May 31, 2011 5:34 am
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.

Print 2 different documents on the same A4 page

Posted: Wed Jun 01, 2011 7:10 am
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.

Print 2 different documents on the same A4 page

Posted: Wed Jun 01, 2011 2:59 pm
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.

Print 2 different documents on the same A4 page

Posted: Thu Jun 02, 2011 1:58 am
by Alex K.
Hello,

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

Thank you.

Print 2 different documents on the same A4 page

Posted: Wed Jun 08, 2011 1:38 pm
by Fabio Pagano
Worked ok. Thank you very much.

Print 2 different documents on the same A4 page

Posted: Wed Jun 08, 2011 10:24 pm
by Andrew
Hello,

Ok!

Thank you.