User Tools

Site Tools


el:printeron

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

el:printeron [2016/01/01 22:39]
el:printeron [2020/02/28 10:46] (current)
Line 1: Line 1:
 +===== PrinterOn =====
 +==== Format ====
 +**printeron**\\
 +**printer on**
  
 +==== Description ====
 +
 +Turns printing on.  Once printing is on the graphics commands [[Arc|Arc]], [[Chord|Chord]], [[Circle|Circle]], [[Color|Color]], [[Imgload|Imgload]], [[Line|Line]], [[PenWidth|PenWidth]], [[Pie|Pie]], [[Plot|Plot]], [[Poly|Poly]], [[Rect|Rect]], [[Stamp|Stamp]], and [[Text|Text]]  will draw on the printer page and not the graphics area of the screen. [[Graphheight|Graphheight]], [[Graphwidth|Graphwidth]], [[TextHeight|TextHeight]], and [[TextWidth|TextWidth]] also reports information about the printer graphical page.
 +
 +Once the printer pages are rendered the [[PrinterOff|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 ====
 +
 +<code>
 +printer on
 +font "Arial", 20, 50
 +for l = 0 to 10
 +   text 0,l*textheight(), "line " + l
 +next l
 +printer off
 +</code>
 +
 +==== See Also ====
 +{{page>en:start#Printing&noheader}}
 +==== New To Version ==== 
 +0.9.9.70
el/printeron.txt ยท Last modified: 2020/02/28 10:46 (external edit)