Printer

Этот класс используется при печати.

В Gambas объект Printer - это графическое оборудование, так что вы используете методы класса Draw для вывода на него.

Например:

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

Этот класс статический.


Properties   Methods   Constants  
ColorMode  Copies  File  FromPage  Height  MaxPage  MinPage  Name  Orientation  Resolution  Size  ToPage  Width    Abort  NewPage  Setup    Black  Color  Landscape  Portrait