PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → 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?
Débuté par Yogi Yang, 23 avr. 2018 16:54 - 3 réponses
Posté le 23 avril 2018 - 16:54
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
Posté le 23 avril 2018 - 17:11
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.
Posté le 23 avril 2018 - 17:35
You can try with Internal reports or nested reports.

https://doc.windev.com/en-US/…
https://doc.windev.com/en-US/…
Posté le 24 avril 2018 - 13:49
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