printer.setCursorPos

From ComputerCraft Wiki
Revision as of 14:20, 18 July 2013 by Cranium (Talk | contribs) (Changing int to number)

Jump to: navigation, search


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

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