Difference between revisions of "Printer.getPaperLevel"

From ComputerCraft Wiki
Jump to: navigation, search
(Moved to CAT:LuaCoreFunctions)
m (-> printer api)
Line 4: Line 4:
 
|args=none
 
|args=none
 
|returns=Int_(type)
 
|returns=Int_(type)
|api=none
+
|api=printer
 
|addon=ComputerCraft
 
|addon=ComputerCraft
 
|desc=Returns the total amount of paper in the printer.
 
|desc=Returns the total amount of paper in the printer.

Revision as of 10:03, 30 November 2012


Grid Redstone.png  Function printer.getPaperLevel
Returns the total amount of paper in the printer.
Syntax printer.getPaperLevel(none)
Returns Int_(type)
Part of ComputerCraft
API printer

Examples

Grid paper.png  Example
Prints paper level
Code
print(printer.getPaperLevel())