[Gambas-user] Printing

Benoit Minisini gambas at ...2...
Tue May 20 09:15:26 CEST 2003


Le Lundi 19 Mai 2003 06:52, Ken Schrock a écrit :
> I see reading properties, doing new page, showing setup dialog
> But I don't see a way to get a handle or printer object
> How does one actually print (printer-graphically)?

Draw.Begin(Printer)

Draw.Rect(...)
Draw.Text(...)
...

Printer.NewPage

Draw...

Draw.End(Printer)

I tested it once a long time ago. So tell me if you have problems, bugs, 
strange behaviour with the Printer class.

Regards,

-- 
Benoit Minisini (using Mandrake !!)
mailto:gambas at ...1...




More information about the User mailing list