printer.write

From ComputerCraft Wiki
Revision as of 14:32, 26 September 2012 by Jdc1197 (Talk | contribs) (Created page with "{{lowercase}} {{Function |name=printer.write |args= string text |returns=Empty string (bug?) |api=none |addon=ComputerCraft |desc=Writes onto the paper |exam...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Grid Redstone.png  Function printer.write
Writes onto the paper
Syntax printer.write(string text)
Returns Empty string (bug?)
Part of ComputerCraft
API none

Examples

Grid paper.png  Example
Writes text onto the loaded paper, at the cursor's current position. This does not produce a new line, and anything else printed or written after this will be on the same line.
Code
printer.write("Hello, World!")
Output prints "Hello, World!" onto the loaded paper.