printer.getPaperLevel

From ComputerCraft Wiki
Revision as of 02:05, 23 September 2012 by Thesbros (Talk | contribs) (It's not in an API. also, changed the example and returns=)

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