Difference between revisions of "Printer.newPage"
From ComputerCraft Wiki
m (-> printer api) |
(Corrected mapping from "Boolean" to "Boolean (type)") |
||
Line 3: | Line 3: | ||
|name=printer.newPage | |name=printer.newPage | ||
|args=none | |args=none | ||
− | |returns=[[ | + | |returns=[[boolean_(type)|boolean]] If the page creation was successful. |
|api=printer | |api=printer | ||
|addon=ComputerCraft | |addon=ComputerCraft |
Revision as of 13:48, 30 November 2012
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
Example | |
Creates a new page. | |
Code |
print(printer.newPage()) |
Output | true if the page creation was successful, otherwise false |