Posted 18 October 2013 - 07:26 PM
                So, it's a pretty simple mod. It adds a scanner peripheral to Computercraft. This peripheral does exactly one thing; it takes printed pages (I'm not sure if books/bundles of pages work yet, and if not they're coming soon) and converts them into data when you call scan() on the peripheral.
Here's the recipe:

Just plonk that thing down.
Methods (scanner is the wrapped peripheral):
If there's no paper in the slot, it'll return nil.
title and pageCount are exactly what they look like.
If there is paper in the slot, the method will return a weird table for data.
It looks like this;
Downloads
License:
The code is private.
I don't give a damn what you do with the binary, so long as people know it's my work.
That ought to be all; if I've left anything out, please tell me below!
Please, I can't emphasize enough how important bug reports and feature requests are.
                
                    Here's the recipe:

Just plonk that thing down.
Methods (scanner is the wrapped peripheral):
data, title, pageCount = scanner.scan()
If there's no paper in the slot, it'll return nil.
title and pageCount are exactly what they look like.
If there is paper in the slot, the method will return a weird table for data.
It looks like this;
{ { line, color }, { line, color } ... } -- And so on and so forth.
Downloads
License:
The code is private.
I don't give a damn what you do with the binary, so long as people know it's my work.
That ought to be all; if I've left anything out, please tell me below!
Please, I can't emphasize enough how important bug reports and feature requests are.
Edited on 16 January 2014 - 06:37 PM
                
             
         
                 
                 
                
 
                 
                