Difference between revisions of "Printer.setCursorPos"

From ComputerCraft Wiki
Jump to: navigation, search
(Added Page)
 
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 
{{Function
 
{{Function
|name=printer.getInkLevel
+
|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


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