ComputerCraft API - Printerm
Printerm is my API for ComputerCraft that allows you to use a printer as a pseudo-terminal. Here is the implementation of all terminal functions.
- term.write - wrapped from printer, checks if you’ve already started a page and if not, starts one, as well as checking paper and ink levels before calling the printer function
- term.blit - ignores colors and just calls write function
- term.clear - stubbed
- term.clearLine - stubbed
- term.setCursorPos and term.getCursorPos - implemented in printer object
- term.setCursorBlink - stubbed
- term.isColor - returns false
- term.scroll - stubbed
- term.getSize - returns printer.getPageSize()
- term.set(Text/Background)Color - stubbed
- term.getTextColor - returns colors.black
- term.getBackgroundColor - returns colors.white
All printer functions are available from the pseudo-term object as well.
go home