Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local printer = peripheral.wrap("top")
- function calc_color(color)
- return math.pow(2, color - 1)
- end
- function msg(gap, line, text)
- printer.setCursorPos(gap,line)
- text = printer.write(text)
- end
- if printer.newPage() then --")
- msg(1,01,"MagmaLP: ")
- msg(1,02,"~~~~~~~~ ")
- msg(1,03,"")
- msg(1,04,"1x")
- msg(1,05,"MV Solar Panel.....1000$")
- msg(1,06,"1x")
- msg(1,07,"LV Solar Panel......150$")
- msg(1,08,"2x")
- msg(1,09,"ME Controller.......500$")
- msg(1,10,"1x")
- msg(1,11,"LV Solar Panel......150$")
- msg(1,12,"2x")
- msg(1,13,"ME Controller.......500$")
- msg(1,14,"1x")
- msg(1,15,"LV Solar Panel......150$")
- msg(1,16,"2x")
- msg(1,17,"ME Controller.......500$")
- msg(1,18,"1x")
- msg(1,19,"LV Solar Panel......150$")
- msg(1,20,"")
- msg(1,21,"21:52 Uhr 12.07.2024")
- printer.setPageTitle("Bill")
- printer.endPage()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement