And nothing has happened since.
So here is my version of the SCANNER
Crafted a bit like the printer, it has several slots to put paper (or paper that has been crafted together)
Obviously it's a peripheral
If its wrapped as 'scanner'
scanner.newPage() --#> draws a new page into the scanner's 'current slot' scanner.getPageTitle() --#> returns the name of the current page scanner.getPageSize() --#> returns the size of the current page scanner.getTotalPages() --#> returns the number of pages in the booklet (or 1 if its just a single page) scanner.readAll() --#> Same as with the FS api, it returns the whole page's contense scanner.readLine() --#> Same as with the FS api, returns a line at a time scanner.nextPage() --#> goes to the next page of the booklet, returning true if it succeeds, false if you are on the last page already. readLine could do it automatically scanner.endPage() --#> sends the current page/pages into the output slot
Or even more fun
Use 'scanner.scanPage()' to start scanning, then use os.pullEvent() to listen for scan events, which could be a single letter, word, line, ect...
The bar in the scanner could slowly move across to show its progress
I don't really know how to work color into this. Prehaps there could be a regular scanner and an advanced scanner, like computers/turtles/pda's
The advanced ones might return some kind of data that represents the color, but I'm not sure exactly what that would be
Anywho, I think it would be a really nice addition, since there isn't a way to read printed pages, or regular MC books. (The scanner could work on books too)
Edited by HPWebcamAble, 14 March 2015 - 12:50 AM.












