Difference between revisions of "Printer.setCursorPos"
From ComputerCraft Wiki
(frjkdghnuirjkd) |
m (Reverted edits by 199.19.105.156 (talk) to last revision by Lyqyd) |
||
Line 1: | Line 1: | ||
− | + | {{lowercase}} | |
+ | {{Function | ||
+ | |name=printer.setCursorPos | ||
+ | |args=[[int (type)|int]] x, [[int (type)|int]] y | ||
+ | |returns=none | ||
+ | |api=peripheral | ||
+ | |addon=ComputerCraft | ||
+ | |desc=Sets the position of the printer cursor, similar to [[term.setCursorPos]], but on a printer. | ||
+ | |examples= | ||
+ | {{Example | ||
+ | |desc=Sets the cursor at the top of the page. | ||
+ | |code=printer.setCursorPos(1,1) | ||
+ | |output=none | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | [[Category:Lua_Core_Functions]] |
Revision as of 17:10, 4 December 2012
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 |