PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 2024 → [WD20] - How to print two copies of a Receipt on same page?
[WD20] - How to print two copies of a Receipt on same page?
Started by Yogi Yang, Apr., 23 2018 4:54 PM - 3 replies
Posted on April, 23 2018 - 4:54 PM
Hello,

I have a need where in I have designed a payment receipt that takes up half of A4 size page.

Now I need to print the second copy of this payment receipt in the second half of A4.

How can we achieve this?

Attached sample receipt:
[attachment 2672 2018-04-23_202305.png]

TIA
Posted on April, 23 2018 - 5:11 PM
Hi Yogi,

The solution is to design your A4 and you duplicate your fields e.g Date1 for the higher part and date2 for the lower part when you assign the values date1=value and date2=same value

I did it horizontally but it is the same vertically.

Enjoy.
Posted on April, 23 2018 - 5:35 PM
You can try with Internal reports or nested reports.

https://doc.windev.com/en-US/…
https://doc.windev.com/en-US/…
Posted on April, 24 2018 - 1:49 PM
Quote
Abdelillah ELFASSI

Hi Yogi,



The solution is to design your A4 and you duplicate your fields e.g Date1 for the higher part and date2 for the lower part when you assign the values date1=value and date2=same value



I did it horizontally but it is the same vertically.



Enjoy.
Hello

Thanks for the idea! Using this I managed to print two receipts in horizontal!!!

But in case of vertical how can I handle Report Header and Report Footer?

TIA