Difference between revisions of "Printer.getPageSize"
From ComputerCraft Wiki
m (Moved to CAT:LuaCoreFunctions) |
Smiley43210 (Talk | contribs) m (Changed parent api) |
||
| Line 3: | Line 3: | ||
|name=printer.getPageSize | |name=printer.getPageSize | ||
|returns=Width and Height of the Page in the Printer | |returns=Width and Height of the Page in the Printer | ||
| − | |api= | + | |api=printer |
|addon=ComputerCraft | |addon=ComputerCraft | ||
|desc=Returns the size of the page. | |desc=Returns the size of the page. | ||
Revision as of 16:06, 3 May 2013
| 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> |