printer.getPaperLevel

From ComputerCraft Wiki
Revision as of 10:03, 30 November 2012 by Pinkishu (Talk | contribs) (-> printer api)

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 printer

Examples

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