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

Ru Vuott vuott at ...325...
Thu Nov 22 01:14:21 CET 2012


Thank you.



--- Mer 21/11/12, Benoît Minisini <gambas at ...1...> ha scritto:

> Da: Benoît Minisini <gambas at ...1...>
> Oggetto: Re: [Gambas-user] Difference between Printer1.Count and Printer1.NumCopies
> A: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
> Data: Mercoledì 21 novembre 2012, 14:17
> 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,
> 
> -- 
> Benoît Minisini
> 
> ------------------------------------------------------------------------------
> 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