Difference between revisions of "Printer.newPage"
From ComputerCraft Wiki
| Line 11: | Line 11: | ||
|desc= Creates a new page. | |desc= Creates a new page. | ||
|code=print(printer.newPage()) | |code=print(printer.newPage()) | ||
| − | |output= | + | |output=True if the page creation was successful, otherwise false |
}} | }} | ||
}} | }} | ||
Revision as of 13:48, 26 September 2012
| 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
| Creates a new page. | |
| Code |
print(printer.newPage()) |
| Output | True if the page creation was successful, otherwise false |