I'm hoping someone can point me in the right direction on a problem.
Basically a client of mine wants to be able to run a check through a scanner and have info like the routing number appear in a form on his system's web interface. The scanner is a MiniMICR made by Magtek, which is connected via serial. Interacting with the scanner itself is very straight-forward, but my problem is getting the data from it into the browser. The client wants this to work with IE and Firefox, on Win 95 through Vista.
I'm not sure how to approach feeding data into browsers like this, so any help would be appreciated.
Implement a keyboard driver, or a browser extension. Neither will work in Win95 through Vista and IE and Firefox, so you'll need to do several different ones.
Perhaps you can figure out a way to inject keyboard events from a normal app, but that's not likely to be very reliable.
You feed data into the browser by URLs, silly.
Perhaps:
Install a mini web server on the client bound to localhost that serves the form page, with a little bit of javascript code to connects to another page on the server, waits for a response, and fills out the form. That way all your hard stuff is in a component you control entirely, and it'd be portable to pretty much any OS.
I think you should write a client-side listener for the check reader that searches common browsers' cookies for a valid and active one for the site you're sending information to. Then, run an XHR function on the form page at an interval that will grab the data sent from the client app and throw it into the proper field(s).
(btw, there are multiple people at the nnSI3d8U location... heh)