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

Can't use the printer

Started by programmer22, 22 July 2012 - 04:54 PM
programmer22 #1
Posted 22 July 2012 - 06:54 PM
Can someone tell me how i can use the CCprinter? I ask because when i typed in "printer.open( top ) ", computerCraft said "No such program" Why it doesn't work ?

Thank you in advance :)/>/>

[attachment=336:2012-07-22_15.28.37.png]
WhatThePiep #2
Posted 22 July 2012 - 07:26 PM
I'm not a pro but i think u need to say ("top")
Tiin57 #3
Posted 22 July 2012 - 09:07 PM
I'm not a pro but i think u need to say ("top")
That is correct, and there is another issue. You have to type it in either the lua prompt or a file, which is then saved and run as a program. You cannot run a function from the shell.
programmer22 #4
Posted 22 July 2012 - 10:19 PM
look next post :)/>/>
programmer22 #5
Posted 22 July 2012 - 10:26 PM
I'm not a pro but i think u need to say ("top")
That is correct, and there is another issue. You have to type it in either the lua prompt or a file, which is then saved and run as a program. You cannot run a function from the shell.


Like this? [attachment=338:2012-07-22_23.17.10.png]
Noodle #6
Posted 23 July 2012 - 11:38 AM
Yea, are you sure you installed it correctly?
Also, that function: d20451 is a table.
Leonardoas111 #7
Posted 02 September 2012 - 09:31 PM
I'm not a pro but i think u need to say ("top")
That is correct, and there is another issue. You have to type it in either the lua prompt or a file, which is then saved and run as a program. You cannot run a function from the shell.


Like this? [attachment=338:2012-07-22_23.17.10.png]

First you have to open the Lua prompt.
It's not printer.getInklevels("right")
It's printer.getInkLevels("right")
FuzzyPurp #8
Posted 02 September 2012 - 11:37 PM
This is the wrong section, please follow forum guidelines. This belongs on the ccPrinter's thread.