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

[SOLVED][Lua][1.4]Printer Program Problems

Started by Rangicus, 29 September 2012 - 05:47 PM
Rangicus #1
Posted 29 September 2012 - 07:47 PM
Hello all
I have been toying with the 1.4 printers and I made a licence maker:
http://pastebin.com/fGpKBNh8

So If you wanna help me please run the program first AKA test it and you will see it will print your name on the title:
http://imgur.com/9xIpV,GwLBg#1

And when i open up the page it says this:
http://imgur.com/9xIpV,GwLBg#0

I am confused i have ink in the printer and everything and if you want to help me PLEASE TEST THE PROGRAM BEFORE POSTING Thank you
MysticT #2
Posted 29 September 2012 - 08:32 PM
In the nextline function you use printer.getPageSize, it should be printer.getCursorPos, otherwise it will always set the cursor outside the page.