[Gambas-user] Small printing question
Fabien Bodard
gambas.fr at ...626...
Fri May 18 12:42:38 CEST 2012
2012/5/18 Johny Provoost <johny.provoost at ...27...>
>
>
> Op 18-05-12 00:04, Benoît Minisini schreef:
> > Le 17/05/2012 23:47, Johny Provoost a écrit :
> >>
> >> Op 17-05-12 23:35, Benoît Minisini schreef:
> >>> 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,
> >>>
> >> thanks for the info. A small disaster I think. Hope I can at least
> >> printing the other pages with the same coordinate as the first one. I
> >> have to find a way to know how many pages it gonna take (sometimes 2,
> >> sometimes 10). Now it prints all the pages on one page.
> >> Strange, print-commands without a newpage.
> >> First get some sleep
> >>
> >> Thanks,
> >> Johny
> >>
> > Why can't you know how many pages to print before starting the printing?
> >
> > Remember that the user must be able to choose which page(s) to print
> > before sending them to the printer, so you can't layout your pages while
> > printing anymore.
> >
> > Regards,
> >
> After some sleep I found a way. It's a list of addresses. I can count
> the records, and I know there can 28 records on one page, so just some
> mathematics and that's ok. Just have to figure out if I got to start
> over with my coordinates (as with a new page) or that I that I have to
> count further form the top of page 1.
>
> Layout before your printing?
gb.report ?
> That's a thought to investigate.
> I reacted to hard yesterday evening I think (lack of sleep). There's
> alway a way around.
>
> --
>
>
>
> *Vriendelijke Groeten*
>
> *Johny Provoost*
>
> *mailto: johny.provoost at ...27... <mailto:johny.provoost at ...27...>*
>
> *mailto: johny.provoost at ...626... <mailto:johny.provoost at ...626...>*
>
> *Website:* *http://www.johnyprovoost.net* <http://www.johnyprovoost.net/>
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Fabien Bodard
More information about the User
mailing list