[Gambas-user] Difference between Printer1.Count and Printer1.NumCopies

Fabien Bodard gambas.fr at ...626...
Thu Nov 22 07:43:07 CET 2012


Or use report for that jobs
Le 21 nov. 2012 16:04, "Rolf-Werner Eilert" <eilert-sprachen at ...221...> a
écrit :

>
>
> Am 21.11.2012 14:17, schrieb Benoît Minisini:
> > Le 21/11/2012 13:37, Ru Vuott a écrit :
> >> Hello,
> >>
> >> I'ld like to know the difference between "Printer1.Count" and
> "Printer1.NumCopies".
> >>
> >> The problem:
> >>
> >
> > 'NumCopies' is the number of times the printer driver will repeat the
> > print. This is low-level.
> >
> > 'Count' is a property that you have to fill to tell how many pages there
> > is in one copy.
> >
> >> I have to create a two-page PDF document, each with a different image
> and text content.
> >>
> >> How I can create (if that's possible...) -- via Printer.OutputFile =
> "my_file.pdf" -- a PDF document with multiple pages contaning different
> contents?
> >>
> >> Thanks
> >> vuott
> >>
> >
> > Look at a printing example. You have to set the Count property to your
> > number of pages in the Begin event, and then print each page inside the
> > Draw event.
> >
> > Regards,
> >
>
> And you should add, you don't need to switch to page 2 when page 1 is
> ready, but when you end your printing of page 1, this will be at the end
> of the Draw event: it leaves the Draw event, and then the Draw event is
> called a second time automagically. So, for each page, all the
> organization to cover the different pages has to be made in Draw.
>
> Regards
>
> Rolf
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> 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