printer.setCursorPos
From ComputerCraft Wiki
Revision as of 17:10, 4 December 2012 by AfterLifeLochie (Talk | contribs) (Reverted edits by 199.19.105.156 (talk) to last revision by Lyqyd)
Function printer.setCursorPos | |
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
Example | |
Sets the cursor at the top of the page. | |
Code |
printer.setCursorPos(1,1) |
Output | none |