Difference between revisions of "Printer.newPage"

From ComputerCraft Wiki
Jump to: navigation, search
(Undo revision 3198 by 99.195.16.60 (talk))
Line 11: Line 11:
 
|desc= Creates a new page.
 
|desc= Creates a new page.
 
|code=print(printer.newPage())
 
|code=print(printer.newPage())
|output=True if the page creation was successful, otherwise false
+
|output=true if the page creation was successful, otherwise false
 
}}
 
}}
 
}}
 
}}

Revision as of 17:30, 26 September 2012


Grid Redstone.png  Function printer.newPage
Creates a new page to be printed.
Syntax printer.newPage(none)
Returns (boolean) If the page creation was successful.
Part of ComputerCraft
API none

Examples

Grid paper.png  Example
Creates a new page.
Code
print(printer.newPage())
Output true if the page creation was successful, otherwise false