[Gambas-user] Howto tell how many pages to print

Fabien Bodard gambas.fr at ...626...
Thu Jul 4 15:54:40 CEST 2013


It depend of what you want to achieve. You can use gb.report.

One time the layer is done you give data. And it calculate all for you. I
know it is not well documented since at less 5 years but i can help you.
Le 3 juil. 2013 22:10, "Sprachschule Eilert" <eilert-sprachen at ...221...>
a écrit :

> Hi folks,
>
> I am still cycling around a problem with the printing system in Gambas3.
> You have to tell the system how many pages to print to make it start
> printing.
>
> But there are cases when you don't know how many pages will result from
> printing before you actually get going.
>
> So I thought, maybe it is a good idea here to "print" single pages again
> and again into a temporary file to count the number of pages. When it
> ends, you will have the resulting number of pages to be printed and can
> start printing in real.
>
> Or is there a smarter way of achieving this?
>
> Thanks for your ideas!
>
> Rolf
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list