Difference between revisions of "Printer.endPage"

From ComputerCraft Wiki
Jump to: navigation, search
(Corrected mapping from "Boolean" to "Boolean (type)")
(Please do not change categories without confirming with me first.)
Line 15: Line 15:
 
}}
 
}}
  
[[Category:API_Functions]]
+
[[Category:Lua_Core_Functions]]

Revision as of 00:44, 1 December 2012


Grid Redstone.png  Function printer.endPage
Terminates and prints the page loaded.
Syntax printer.endPage(none)
Returns boolean If the page termination was successful.
Part of ComputerCraft
API printer

Examples

Grid paper.png  Example
Prints out the current page.
Code
print(printer.endPage())
Output true if the page printed successfully, otherwise false