printer.getPaperLevel

From ComputerCraft Wiki
Revision as of 18:50, 28 November 2012 by AfterLifeLochie (Talk | contribs) (Moved to CAT:LuaCoreFunctions)

Jump to: navigation, search


Grid Redstone.png  Function printer.getPaperLevel
Returns the total amount of paper in the printer.
Syntax printer.getPaperLevel(none)
Returns Int_(type)
Part of ComputerCraft
API none

Examples

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