Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local printer = peripheral.wrap("bottom")
- if printer.getPaperLevel() == 0 then
- error("There is no paper in the printer!")
- end
- if printer.getInkLevel() == 0 then
- error("There is no ink in the printer!")
- end
- if printer.newPage() then
- printer.setCursorPos(01,01)
- printer.write("Inhaltsverzeichniss:")
- printer.setCursorPos(01,02)
- printer.write("~~~~~~~~~~~~~~~~~~~~")
- printer.setCursorPos(01,03)
- printer.write("Lycodon Befehle.......4-6")
- printer.setCursorPos(01,04)
- printer.write("Reward-Crates...........7")
- printer.setCursorPos(01,05)
- printer.write("Maschinen und Upgrades..8")
- printer.setCursorPos(01,06)
- printer.write("HV-MV-LV-Transformer....9")
- printer.setCursorPos(01,07)
- printer.write("Funktion Transformer...10")
- printer.setCursorPos(01,08)
- printer.write("Slime Chunks/Spawner...11")
- printer.setCursorPos(01,09)
- printer.write(".........................")
- printer.setCursorPos(01,10)
- printer.write(".........................")
- printer.setCursorPos(01,11)
- printer.write(".........................")
- printer.setCursorPos(17,21)
- printer.write("Seite 02")
- printer.setPageTitle("Page 2")
- printer.endPage()
- else
- error("Page could not be created.")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement