RT: scanning

Brian K. White brian at aljex.com
Wed Nov 3 03:09:36 PDT 2010


On 11/2/2010 6:16 PM, Brian K. White wrote:
> Getting there...

Ok I finally put together a stripped down example cgi to use with the 
client-side scanning util. Now it's actually a functional example system 
with all necessary parts included. If too crude for practical use just 
yet. And I uploaded scanner util and eztwain library source to the 
google repo.

Now that there is a working scanner util that's all open source, it's 
possible to post a complete binary installer. So that's up too:

http://code.google.com/p/aljex-client/downloads/list

And it includes a bare bones proof of concept tsu.cmd which will run the 
scanner app and upload the image to your web server via http post.

To do that, you need a cgi on the web server that receives the scans.
I finally put together a stripped down version of that and added it to 
the source. It's not included in the binary installer. get it here:

http://code.google.com/p/aljex-client/source/browse/trunk/tsu_OSE/tsu.php

So, what you do is, place tsu.php anywhere in your web server htdocs.
Install the binary installer above.
Browse to http://yourserver/tsu.php
Hit scan.
Wait for the scan to finish.
Refresh the browser.

Then start modifying tsu.php and the tsu() javascript function inside 
it, and tsu.cmd to add metatdata to the query strings and do something 
more useful with the scans than just display it back.

 From a filepro system command you'd just run the same url the tsu() 
javascript function tries to run, "tsu:,yourserevr,"
The commas are significant. CMD.exe treats them as word separators!
And I rely on it for parsing command line args on the cheap.

-- 
bkw


More information about the Filepro-list mailing list