[Gambas-user] Small printing question

Benoît Minisini gambas at ...1...
Thu May 17 23:35:20 CEST 2012


Le 17/05/2012 22:10, Johny Provoost a écrit :
> In gambas2 is use 'Printer.NewPage'.
> I don't find anything similar in gambas3 in the paint section.
>
> Just want to eject the current page and going further with a new page.
>
>
> Johny Provoost
>

It does not work that way anymore.

You specify the number of pages to print before calling the Print() 
method on the printer object.

If you don't know how many pages you must print, i.e. if you don't 
define the Count property before calling Print(), then the Paginate 
event will be raised until you define the Count property in it.

In all cases, you can't print anymore without knowing how many pages you 
will print before!

Regards,

-- 
Benoît Minisini




More information about the User mailing list