Difference between revisions of "Printer.endPage"

From ComputerCraft Wiki
Jump to: navigation, search
m (Category -> API Functions)
(Corrected mapping from "Boolean" to "Boolean (type)")
Line 3: Line 3:
 
|name=printer.endPage
 
|name=printer.endPage
 
|args=none
 
|args=none
|returns=[[boolean|(boolean)]] If the page termination was successful.
+
|returns=[[boolean_(type)|boolean]] If the page termination was successful.
 
|api=printer
 
|api=printer
 
|addon=ComputerCraft
 
|addon=ComputerCraft

Revision as of 13:48, 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