printer.getPaperLevel

From ComputerCraft Wiki
Revision as of 14:04, 18 July 2013 by Cranium (Talk | contribs) (Changing int to number)

Jump to: navigation, search


Grid Redstone.png  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

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