Difference between revisions of "Printer.getPaperLevel"
From ComputerCraft Wiki
m (If there are no args, leave the |args= field empty.) |
(Changing int to number) |
||
Line 2: | Line 2: | ||
{{Function | {{Function | ||
|name=printer.getPaperLevel | |name=printer.getPaperLevel | ||
− | |returns= | + | |returns={{type|number}} the amount of paper in the printer |
|api=printer | |api=printer | ||
|addon=ComputerCraft | |addon=ComputerCraft |
Revision as of 14:04, 18 July 2013
Function printer.getPaperLevel | |
Returns the total amount of paper in the printer. | |
Syntax | printer.getPaperLevel() |
Returns | number the amount of paper in the printer |
Part of | ComputerCraft |
API | printer |
Examples
Example | |
Prints paper level | |
Code |
print(printer.getPaperLevel()) |