Difference between revisions of "Printer.endPage"

From ComputerCraft Wiki
Jump to: navigation, search
m (-> printer api)
m (Category -> API Functions)
Line 15: Line 15:
 
}}
 
}}
  
[[Category:Lua_Core_Functions]]
+
[[Category:API_Functions]]

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