printer.getPageSize
From ComputerCraft Wiki
Revision as of 18:50, 28 November 2012 by AfterLifeLochie (Talk | contribs) (Moved to CAT:LuaCoreFunctions)
| 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
| Prints the size of a page. | |
| Code |
local x, y = printer.getPageSize() |
| Output | <width>, <height> |