Printer (gb.qt.ext)
This is class is used for printing.

In Gambas the Printer object is a graphic device, so you use the methods of the Draw class to output to it.

Example
IF Printer.Setup() THEN RETURN

Draw.Begin(Printer) ' Initializes the draw
Draw.Text(TextArea1.Text, 200, 200) ' Prints the contents of a TextArea in the upper left hand corner
Printer.NewPage ' Prints a new page
Draw.Foreground = Color.Red
Draw.Rectangle(500, 200, 32, 32) ' Draws a small red rectangle
Draw.End ' Then send page to the printer

Symbols
This class is static.

Static properties  Static methods  Constants 
/comp/gb.qt.ext/printer/colormode  /comp/gb.qt.ext/printer/copies  /comp/gb.qt.ext/printer/file  /comp/gb.qt.ext/printer/frompage  /comp/gb.qt.ext/printer/height  /comp/gb.qt.ext/printer/maxpage  /comp/gb.qt.ext/printer/minpage  /comp/gb.qt.ext/printer/name  /comp/gb.qt.ext/printer/orientation  /comp/gb.qt.ext/printer/resolution  /comp/gb.qt.ext/printer/size  /comp/gb.qt.ext/printer/topage  /comp/gb.qt.ext/printer/width    /comp/gb.qt.ext/printer/abort  /comp/gb.qt.ext/printer/newpage  /comp/gb.qt.ext/printer/setup    /comp/gb.qt.ext/printer/black  /comp/gb.qt.ext/printer/color  /comp/gb.qt.ext/printer/landscape  /comp/gb.qt.ext/printer/portrait