printer.getPaperLevel
From ComputerCraft Wiki
Revision as of 23:54, 7 July 2013 by AfterLifeLochie (Talk | contribs) (If there are no args, leave the |args= field empty.)
Function printer.getPaperLevel | |
Returns the total amount of paper in the printer. | |
Syntax | printer.getPaperLevel() |
Returns | int the amount of paper in the printer |
Part of | ComputerCraft |
API | printer |
Examples
Example | |
Prints paper level | |
Code |
print(printer.getPaperLevel()) |