Difference between revisions of "Printer.setCursorPos"

From ComputerCraft Wiki
Jump to: navigation, search
m (Moved to CAT:LuaCoreFunctions)
Line 14: Line 14:
 
}}
 
}}
 
}}
 
}}
 +
 +
[[Category:Lua_Core_Functions]]

Revision as of 18:50, 28 November 2012


Grid Redstone.png  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

Grid paper.png  Example
Sets the cursor at the top of the page.
Code
printer.setCursorPos(1,1)
Output none