printer.getPageSize
From ComputerCraft Wiki
| Returns the size of the page. | |
| Syntax | printer.getPageSize() |
| Returns | Width and Height of the Page in the Printer |
| Part of | ComputerCraft |
| API | printer |
Examples
| Prints the size of a page. | |
| Code |
local x, y = printer.getPageSize() |
| Output | <width>, <height> |