printer.getPageSize
From ComputerCraft Wiki
Revision as of 18:50, 28 November 2012 by AfterLifeLochie (Talk | contribs) (Moved to CAT:LuaCoreFunctions)
Function printer.getPageSize | |
Returns the size of the page. | |
Syntax | printer.getPageSize() |
Returns | Width and Height of the Page in the Printer |
Part of | ComputerCraft |
API | peripheral |
Examples
Example | |
Prints the size of a page. | |
Code |
local x, y = printer.getPageSize() |
Output | <width>, <height> |