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.)

Jump to: navigation, search


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

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