Difference between revisions of "Printer.setCursorPos"
From ComputerCraft Wiki
m (Reverted edits by 199.19.105.156 (talk) to last revision by Lyqyd) |
(Changing int to number) |
||
| Line 2: | Line 2: | ||
{{Function | {{Function | ||
|name=printer.setCursorPos | |name=printer.setCursorPos | ||
| − | |args= | + | |args={{type|number}} x, {{type|number}} y |
|returns=none | |returns=none | ||
| − | |api= | + | |api=printer |
|addon=ComputerCraft | |addon=ComputerCraft | ||
|desc=Sets the position of the printer cursor, similar to [[term.setCursorPos]], but on a printer. | |desc=Sets the position of the printer cursor, similar to [[term.setCursorPos]], but on a printer. | ||
Revision as of 14:20, 18 July 2013
| Sets the position of the printer cursor, similar to term.setCursorPos, but on a printer. | |
| Syntax | printer.setCursorPos(number x, number y) |
| Returns | none |
| Part of | ComputerCraft |
| API | printer |
Examples
| Sets the cursor at the top of the page. | |
| Code |
printer.setCursorPos(1,1) |
| Output | none |