Thanks Ted,

Maybe I wasn’t plain enough

I have a barcode scanner using the keyboard wedge (this works Great!)

 

I’m looking for something for the card reader, that is on the com1 port, and also a cash drawer on the com2 port. I was thinking about this some more over night and after reading some more on the list.

 

I was wondering if there is a communication component out there, with a class that can be instantiated for data read/clear etc?????

 

Help

James

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Theodore E Patrick
Sent: Thursday, August 18, 2005 9:16 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What I wish Flex/Flash Player could do...

 

The best way to test a wedge driver is with a Text Editor.

 

  1. Open NotePad
  2. Set the focus into Notepad
  3. Swipe a Card, Scan a barcode, Read an RFID.

 

If the wedge driver is working, the reader should rapidly type a long string of characters into notepad. The string has a set of delimiters that correspond to encoding. It is very easy to parse these values into something meaningful with just String.split.

 

It is typical for most input devices to ship with a wedge driver. This provides the simplest integration as each of these devices can be viewed as just a very fast keyboard.

 

http://www.google.com/search?q=keyboard+wedge+driver

 

http://www.programbl.com/

 

Plus the free ones that ship with the devices!

 

Cheers,

 

Ted ;)

 

 

 

 

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of James
Sent: Thursday, August 18, 2005 1:25 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What I wish Flex/Flash Player could do...

 

Hello Ted,

 

            I was looking for a way to read a card reader from comm. port, as the current configuration I have to deal with uses a barcode scanner on the wedge.

Any help would greatly be appreciated

James

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Theodore E Patrick
Sent: Tuesday, August 16, 2005 6:53 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What I wish Flex/Flash Player could do...

 

Flash can handle these via a standard MS Keyboard Wedge Driver. We shipped a kiosk with a card reader and the Flash Player can directly parse data entered. Basically all these devices can be reduced to keyboard input so when you swipe a card or scan a barcode, it just types data really fast.

 

Actually I believe I have an example that does just this very thing…

 

Just put 3 V2 TextInput controls on stage and name the instances: ti_name, ti_card, ti_date and use this code:

 

Key.addListener(this)    

function onKeyDown(){

            var self = arguments.callee

            var k = String.fromCharCode(Key.getAscii())

            if(self.storage == undefined) self.storage=””

            self.storage = self.storage + k

            if(self.storage.split("?").length == 3 ){

                        var sname = self.storage.split("^")[1]                               

                        var scardbase = self.storage.split("?;")[1].split("?")[0].split("=")

                        ti_name.text = sname

                        ti_card.text = scardbase[0]

                        ti_date.text = scardbase[1]                                

                        self.storage = ""            

            }                      

}

 

This will parse the values from a standard 3 phase credit card reader. In the kiosk that used this we tested cards from starbucks, visa, amex, subway and all worked perfectly. When each type of device, you just need to know what to look for in parsing the data received.

 

One less thing for Ethan :)

 

Cheers,

 

Ted J

 

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick Bullotta
Sent: Tuesday, August 16, 2005 1:20 PM
To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What I wish Flex/Flash Player could do...

 

Here's another one for Ethan then... :)

 

The Flash Player (along with Flex and AS) should have an input extensibility model that supports input focus management and input from other mechanisms/devices such as:

 

- Barcode readers

- RFID readers

- Card readers

- Others...

 

This would open up a whole new class of applications for Flex/Flash.

 

- Rick Bullotta

  SAP Labs, LLC

 


From: flexcoders@yahoogroups.com on behalf of JesterXL
Sent: Mon 8/15/2005 9:28 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] What I wish Flex/Flash Player could do...

I forwarded your request to the Central Dev group for Ethan Malasky to
hopefully pick up.  Since Central is hopefully the future of Flash, and
ultimately Flex on the desktop, things like this are perfect.

It just so happens SQL on the client was requested by multiple people
already there, so your request from a different demographic WITH the
keywords of "occasionally connected" just adds mad credence.







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Computer software testing Macromedia flex Development
Software developer


YAHOO! GROUPS LINKS




Reply via email to