[Gambas-user] How to use Printer class ?

Benoit Minisini gambas at ...1...
Tue Dec 2 18:32:15 CET 2003


On Tuesday 02 December 2003 14:23, t4nu wrote:
> Hi ..
> It is confusing for me to understand how to use Printer Class...
> Well.....it's because my mind still thinking in VB ways perhaps ....
>
> Anybody can help ?
>
> In VB I use
> Printer.Print Something
>
> to use default Printer
>
> How about Gambas ?
>
>

This way:

Draw.Begin(Printer)

Draw.* ' What yo want to draw

Draw.End

Elsewhere, Printer has methods to change page, abort a job, define page 
properties, and so on, like in VB.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...





More information about the User mailing list