Page 1 of 1

A4 - Printer [Solved]

Posted: Monday 8th May 2023 8:41am
by toto96
Hi,
I would like to print some richtext that spans across multiple pages (A4). Is it possible to do this with the printer component?

  Paint.DrawRichText(titre & ligne_separation & saut_ligne & contenu_note, 960, 400, Paint.Width - 2 * 960)
  


--> My text exceeds the height of one A4 page. How can I generate the additional pages?

Re: A4 - Printer

Posted: Monday 8th May 2023 10:11am
by cogier
There is Printing help available here and there is an example program available on the Farm, and here

Re: A4 - Printer

Posted: Monday 8th May 2023 1:30pm
by toto96
Thank you,

I have found the solution, I am dividing my string's length relative to a page.