Properties | Methods | Constants | ||||
---|---|---|---|---|---|---|
Black Color Landscape Portrait |
In Gambas, the Printer object is a graphics device, so you use the Draw methods to output to it. Example:
Draw.begin(Printer) ' initialize draw object Draw.text(TextArea1.text,200,200) ' print contents of a TextArea in upper left hand corner Draw.end ' send page to printer