A4 - Printer [Solved]

Post

Posted
Rating:
#1 (In Topic #1041)
Trainee
toto96 is in the usergroup ‘Trainee’
Hi,
I would like to print some richtext that spans across multiple pages (A4). Is it possible to do this with the printer component?

Code (gambas)

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

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

Image

(Click to enlarge)

Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Guru
cogier is in the usergroup ‘Guru’
cogier is in the usergroup ‘GambOS Contributor’
There is Printing help available here and there is an example program available on the Farm, and here
Online now: No Back to the top

Post

Posted
Rating:
#3
Trainee
toto96 is in the usergroup ‘Trainee’
 Thank you,

I have found the solution, I am dividing my string's length relative to a page.
Online now: No Back to the top
1 guest and 0 members have just viewed this.