User Tools

Site Tools


en:printeron

PrinterOn (Statement)

Format

printeron
printer on

Description

Turns printing on. Once printing is on the graphics commands Arc, Chord, Circle, Color, Imgload, Line, PenWidth, Pie, Plot, Poly, Rect, Stamp, and Text will draw on the printer page and not the graphics area of the screen. Graphheight, Graphwidth, TextHeight, and TextWidth also reports information about the printer graphical page.

Once the printer pages are rendered the printeroff statement sends the print document to the selected printer or to a PDF file. The device and device options can be setup from the Edit/Printer Preferences menu option.

Example

printer on
font "Arial", 20, 50
for l = 0 to 10
   text 0,l*textheight(), "line " + l
next l
printer off

See Also

History

0.9.9.70New To Version
en/printeron.txt · Last modified: 2020/02/28 10:46 (external edit)