Difference between revisions of "Printer.setCursorPos"
From ComputerCraft Wiki
MathManiac0 (Talk | contribs) (Added Page) |
|||
| Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
{{Function | {{Function | ||
| − | |name=printer. | + | |name=printer.setCursorPos |
|args=[[int]] x, [[int]] y | |args=[[int]] x, [[int]] y | ||
|returns=none | |returns=none | ||
Revision as of 10:38, 28 November 2012
| Sets the position of the printer cursor, similar to term.setCursorPos, but on a printer. | |
| Syntax | printer.setCursorPos(int x, int y) |
| Returns | none |
| Part of | ComputerCraft |
| API | peripheral |
Examples
| Sets the cursor at the top of the page. | |
| Code |
printer.setCursorPos(1,1) |
| Output | none |