Difference between revisions of "Printer.newPage"

From ComputerCraft Wiki
Jump to: navigation, search
m (Moved to CAT:LuaCoreFunctions)
m (-> printer api)
Line 4: Line 4:
 
|args=none
 
|args=none
 
|returns=[[boolean|(boolean)]] If the page creation was successful.
 
|returns=[[boolean|(boolean)]] If the page creation was successful.
|api=none
+
|api=printer
 
|addon=ComputerCraft
 
|addon=ComputerCraft
 
|desc=Creates a new page to be printed.
 
|desc=Creates a new page to be printed.

Revision as of 10:03, 30 November 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 printer

Examples

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