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