Difference between revisions of "Printer.getPaperLevel"
From ComputerCraft Wiki
(Moved to CAT:LuaCoreFunctions) |
m (-> printer api) |
||
Line 4: | Line 4: | ||
|args=none | |args=none | ||
|returns=Int_(type) | |returns=Int_(type) | ||
− | |api= | + | |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
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
Example | |
Prints paper level | |
Code |
print(printer.getPaperLevel()) |