[Gambas-user] Printing multiple pages

Fabien Bodard gambas.fr at gmail.com
Sat Aug 10 20:05:14 CEST 2019


Do you use gb.report ?

Le mar. 6 août 2019 23:53, Steve G via User <user at lists.gambas-basic.org> a
écrit :

> It seems I have the same problem a lot of other people do. I am creating
> documents to print in gambas. I have no problem figuring out how many pages
> there are ahead of time. I have documents that are one page and they show
> up fine including in print preview. My problem is when I need to print
> multiple pages I can get multiple pages but they are all copies of the same
> page. Or I end up with both pages superimposed over each other on a single
> page. I cannot for the life of me figure out how to tell something to print
> on a different page.
> One example, is I am trying to print a report. The report can be multiple
> Pages or could be one page. A footer goes at the bottom of only the last
> page and it takes up a certain amount of room. This means that on a
> three-page document I can fit a certain amount on pages 1 and 2, but on
> page 3 I can only fit that amount minus the amount of room needed for the
> footer. I can calculate this without any problem. But I can't find a way to
> tell gambas that I need to put something on a different page. I've tried
> increasing y values I have tried looking over the example and I cannot for
> the life of me get this to print pages the way I need. The simple of it
> would be telling me how to make information appear on page 2 instead of
> page one. My brain is hurting from this, can I get some help please?
>
> Sent from TypeApp <http://www.typeapp.com/r?b=15461>
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190810/d83b50c8/attachment.html>


More information about the User mailing list