This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
mrpoopy345's profile picture

Printer Peripheral Help

Started by mrpoopy345, 29 March 2014 - 03:07 PM
mrpoopy345 #1
Posted 29 March 2014 - 04:07 PM
Hello pros! I, today, need some help with the printer peripheral.

I have looked at the API page on the wiki but it doesn't really tell you much.
So what I am asking of you is to make me a program that will print a page with "Hello world" on it, just so I can get the gist of the printer.

Thank you!
Shazz #2
Posted 29 March 2014 - 04:37 PM
Example you are looking for:

local printer = peripheral.wrap("left")
printer.newPage()
printer.write("Hello World!")
printer.endPage()
mrpoopy345 #3
Posted 29 March 2014 - 05:05 PM
Thank you!