Difference between revisions of "Printer.endPage"

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 termination was successful.
 
|returns=[[boolean|(boolean)]] If the page termination was successful.
|api=none
+
|api=printer
 
|addon=ComputerCraft
 
|addon=ComputerCraft
 
|desc=Terminates and prints the page loaded.
 
|desc=Terminates and prints the page loaded.

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