printer.getPaperLevel
From ComputerCraft Wiki
Revision as of 21:10, 3 June 2013 by SuicidalSTDz (Talk | contribs) (Fixed integer tag and added a better description for returned value)
Function printer.getPaperLevel | |
Returns the total amount of paper in the printer. | |
Syntax | printer.getPaperLevel(none) |
Returns | int the amount of paper in the printer |
Part of | ComputerCraft |
API | printer |
Examples
Example | |
Prints paper level | |
Code |
print(printer.getPaperLevel()) |