raw data from barcode scanner
my experience with barcode scanners equals to absolute zero, so I am posting a very naive question :-). Is it possible to get raw image data from barcode scanner e.g. a line of b/w pixels (e.g. bytes or bits, whatever it is) ? Viktoras ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: raw data from barcode scanner
Ask Franz: http://lists.runrev.com/pipermail/use-revolution/2008-July/112224.html --- On Sat, 6/5/10, viktoras d. vikto...@ekoinf.net wrote: From: viktoras d. vikto...@ekoinf.net Subject: raw data from barcode scanner To: How to use Revolution use-revolution@lists.runrev.com Date: Saturday, June 5, 2010, 5:25 PM my experience with barcode scanners equals to absolute zero, so I am posting a very naive question :-). Is it possible to get raw image data from barcode scanner e.g. a line of b/w pixels (e.g. bytes or bits, whatever it is) ? Viktoras ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: raw data from barcode scanner
Barcode readers act just as if the user had typed the numbers in on a keyboard. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: USB barcode scanner?
They are LED or Laser. The difference is range and fragility. The LED ones have to be used much closer up to the code, like 6 inches, but they are very robust. The Laser ones can be used quite a distance away, but don't drop them. I prefer LED. They will get dropped. As others say, the 'wedge' ones act like a keyboard, and need no drivers. But, and it may not matter in your application, bear in mind that they send the characters they read followed by either return or enter but not both. This has a couple of consequences. If you allow keyboard entry of codes as well, obviously you have to handle both enter and return. Also I had some timing problems. I made caps D send mouseup to a Discount button. The user wanted for the cashier to be able to either do discounts by just using the reader, or alternatively, just using the mouse. Problem was that it sent mouseup to the Discount button and then sometimes but not always then sent return when the user was expected to first enter the amount of the discount I fixed this by the brute force method of sending to an invisible dummy button, waiting a fraction of a second, and then sending mouseup on, so absorbing the enter. Sarah's little stack was very useful in decoding what exactly the reader was sending. If you want to handle some keypresses, this means that you know exactly what is being sent and so you can harmonize the keyboard and the reader. kbarcode, if you can run Linux apps, is a great free package for generating bar codes and printing bar code labels. Bear in mind that if you generate labels in a word processor, like for a cash register laminated sheet, and there are quite a few free bar code fonts out there that can be used for this, you have to use start/stop characters, and these differ from Windows to Linux, and I assume the Mac will be different as well. Its * for Linux, and if I recall correctly its ! in Windows. You can find yourself staring at the thing in frustration wondering why the shop label codes work perfectly, but the ones you have just made up do not. This is probably why. I found the really hard issue to be not so much this stuff, as the tradeoffs you end up considering between convenience and security. Very hard to strike the balance. You have to spend some time thinking like a thief and craftily installing logs, and whatever you do you'll miss something. -- View this message in context: http://www.nabble.com/USB-barcode-scanner--tp20747555p20759008.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
USB barcode scanner?
Hello! Can anybody recommend a usb barcode scanner that I can get to work with rev? I using rev 2.81 and a Mac. I've got my POS app working nicely now and it's time for the next step...adding a scanner. Thanks! Best Regards, Timothy R. Ponn ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: USB barcode scanner?
Timothy , Most of the bar code devices operate like a keyboard input device out of the box as a straight barcode scanner (i.e. outputs a translation of the barcode in text), others have features like storage where the scanner does not have to be tethered to the computer, can dump later, Wifi, etc. Most of them won't mention the Mac, even though everybody's conforming to standards. So don't let the PC part deter you, unless you need software to do more than recognize IPC symbols. It appears your scripts will do the rest. It's interesting in the peripherals world, when often many USB and Firewire devices built to standards, are sold with no reference to Macintosh at all in the ads and packaging, even though they work perfectly (and often install without drivers) and are a significant part of their sales are to mac customers. This is especially true of hard drives and network routers. Incredibly ignorant of the marketers if you ask me, and a wasted opportunity. I used to be an annoying Mac Evangelist (remember those?) when we felt we had to fight every fight against the PC 'hegemony', or we'd be stuck with the alternative in the future. Today, Apple's strong, hip, visionary, and makes solid products these days that sell themselves, so I don't have to do that anymore. I think Jacque was on the Evangelists list, or was it Mac Marines? It was a while ago. Over 20 years of mail-lists. The mind boggles. Hello! Can anybody recommend a usb barcode scanner that I can get to work with rev? I using rev 2.81 and a Mac. I've got my POS app working nicely now and it's time for the next step...adding a scanner. Thanks! Best Regards, Timothy R. Ponn -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: USB barcode scanner?
On Nov 29, 2008, at 9:28 AM, Tim Ponn wrote: Hello! Can anybody recommend a usb barcode scanner that I can get to work with rev? I using rev 2.81 and a Mac. I've got my POS app working nicely now and it's time for the next step...adding a scanner. What Stephen said. One other thing to know is that the barcode scanners can have their behavior modified by scanning barcodes in the booklet that comes with them. For example, you can have the scanner send a return after it's finished reading the barcode. That can be handy for your input routine, so it knows when the scanner has finished sending. There is no difference at all between a user typing on a keyboard, and the scanner sending its keystrokes, so if you have an application where a user is supposed to type into one field, and a scanner grabs a barcode without showing the text captured, your user could trigger the scanner while typing into the visible field, and they will see the barcode numbers typed in for them. That may not matter, but it could influence your design, you would want to make sure not to set up situations where the user can easily be confused. Another setting for the scanner is the baud rate (they're really serial, with USB converters). Set that to as high as you can, and even then the apparent typing speed is not very fast. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: USB barcode scanner?
Stephen Barncard wrote: Most of the bar code devices operate like a keyboard input device out of the box as a straight barcode scanner (i.e. outputs a translation of the barcode in text), I wrote a stack some years ago that worked with a barcode reader, which I had never seen and did not have access to. I just used normal keydown/keyup and on returnkey handlers, and it all worked fine. There was no difference between keyboard entry and barcode entry. So what you say works. I warned the client they'd have to test, and it never failed in any way. I think Jacque was on the Evangelists list, or was it Mac Marines? It was a while ago. Over 20 years of mail-lists. The mind boggles. It was the Evangelists list, but I only read it, I never posted. And yes, I can't believe where the time goes. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: USB barcode scanner?
On Sun, Nov 30, 2008 at 12:28 AM, Tim Ponn [EMAIL PROTECTED] wrote: Hello! Can anybody recommend a usb barcode scanner that I can get to work with rev? I using rev 2.81 and a Mac. I've got my POS app working nicely now and it's time for the next step...adding a scanner. As the others have said, any scanner that operates in keyboard wedge mode will be fine. A lot of them come with cables sold separately, so don't forget to specify that you want USB. I recommend a scanner with multiple scan lines - it easier to use as the barcode doesn't have to be positioned so exactly. I have used scanners made by Unitech and by Datalogic, both with Macs Revolution applications. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: USB barcode scanner?
Recently, Tim Ponn wrote: Can anybody recommend a usb barcode scanner that I can get to work with rev? I using rev 2.81 and a Mac. I've got my POS app working nicely now and it's time for the next step...adding a scanner. Hi Tim: I haven't used it extensively but I have an IntelliScanner Mini from here: http://www.intelliscanner.com/ The biggest selling point for me on this unit is the size -- it could literally fit on a keyring. It works in 2 modes: batch, where you scan codes unplugged and it stores codes in onboard memory; and tethered, where scans are immediately sent to the front most application (or one of the applications that ships with the unit). It's been a while since I last used it, but I just installed the latest dashboard software on OSX 10.4.11, and ran it with Revolution 3. Scans are immediately transferred to an open field, along with a return character. FWIW. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Any way to use BlueTooth Flic barcode scanner in Rev?
Scott - - this is great info, thanks! So it sounds like the only drawback is: 1) A clunky cable interface I forgot to ask - - - are you doing this on a Mac or Windows platform? Would this work with a Mac? How does the scanner know that the data actually made it into the computer before it deletes all it's contents? -Original Message- From: [EMAIL PROTECTED] To: use-revolution@lists.runrev.com Sent: Fri, 12 Jan 2007 1:25 AM Subject: Re: Any way to use BlueTooth Flic barcode scanner in Rev? I'm curious to know if the mini sends barcodes to Revolution as if you're using a keyboard I'm still trying to get details on how to possibly connect the scanner output to Rev OK, it's pretty basic -- the scanner sends the barcode digits to any region on the screen that can accept text, which means you can scan a code into a Rev field that has focus. As you guessed above, the scanner sends barcodes in the form of keystrokes (keyDown message). I tried scanning an iTunes gift card barcode and it works. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution Check out the new AOL. Most comprehensive set of free safety and security tools, free access to millions of high-quality videos from across the web, free AOL Mail and more. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Any way to use BlueTooth Flic barcode scanner in Rev?
Recently, [EMAIL PROTECTED] wrote: it sounds like the only drawback is: 1) A clunky cable interface Well, IMO, a scanner that has some kind of display on it would be the ideal. Because this unit has no display, there's no way to know how many items are on it or what you last scanned, but then again it's a relatively inexpensive unit. I forgot to ask - - - are you doing this on a Mac or Windows platform? Would this work with a Mac? Mac. How does the scanner know that the data actually made it into the computer before it deletes all it's contents? It doesn't care. It sends the text whether there's a field or not, the same as if you'd typed on your keyboard without being focused on a field. It works 2 ways: 1) without the cable connected, it stores scans and then dumps them when the cable is attached 2) with the cable connected, each scan is dumped immediately OK, enough [OT] for the list. Back to more important Rev matters. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Any way to use BlueTooth Flic barcode scanner in Rev?
Recently, [EMAIL PROTECTED] wrote: http://www.flicscanner.com/ I'd love to use this device with a Rev app I'm making if at all possible. I have no idea how to interface with BlueTooth technology, however. I picked up this one at Macworld to do some experiments. http://www.intelliscanner.com/products/mini/index.html It already has software built for it, but not sure if any dev kit is available. I'll mention anything I find out. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Any way to use BlueTooth Flic barcode scanner in Rev?
That's great! I emailed them yesterday asking if I could obtain one as a developer, but I haven't heard back yet. I'm curious to know if the mini sends barcodes to Revolution as if you're using a keyboard, or if you have to write some special driver connections to get data out of it. -Original Message- From: [EMAIL PROTECTED] To: use-revolution@lists.runrev.com Sent: Thu, 11 Jan 2007 9:20 PM Subject: Re: Any way to use BlueTooth Flic barcode scanner in Rev? Recently, [EMAIL PROTECTED] wrote: http://www.flicscanner.com/ I'd love to use this device with a Rev app I'm making if at all possible. I have no idea how to interface with BlueTooth technology, however. I picked up this one at Macworld to do some experiments. http://www.intelliscanner.com/products/mini/index.html It already has software built for it, but not sure if any dev kit is available. I'll mention anything I find out. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution Check out the new AOL. Most comprehensive set of free safety and security tools, free access to millions of high-quality videos from across the web, free AOL Mail and more. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Any way to use BlueTooth Flic barcode scanner in Rev?
Recently, [EMAIL PROTECTED] wrote: I'm curious to know if the mini sends barcodes to Revolution as if you're using a keyboard, or if you have to write some special driver connections to get data out of it. Here's the official word I got back from a representative: IntelliScanner mini is not designed for use with our business software (such as Inventory and the Business Integration Kit) or third-party applications. You'll probably be able to use your mini with keyboard emulation for your Revolution app, but third-party integration is unsupported with our consumer product line. I'm still trying to get details on how to possibly connect the scanner output to Rev but they clearly do not support any app development with the consumer model -- you need to go with one of their business products for that. As it stands, the connection from the scanner to the computer is a little klunky. You use two cables and a Keyspan adapter in between. Apparently, once you connect the scanner to the computer and the data has transferred, the scanner is automatically wiped clean for the next scans. I'm using the kitchen software, which connects to an (online?) database in an attempt to match your scanned codes to products in the database. It's pretty cool, but several of the products I scanned have incomplete info or do not appear in the database at all. Because of the form factor (much like a keyring flashlight) it is quite easy to scan items around the house and one can see how scanning could become addictive. Their motto: Scan responsibly. More as it comes in... Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Any way to use BlueTooth Flic barcode scanner in Rev?
I'm curious to know if the mini sends barcodes to Revolution as if you're using a keyboard I'm still trying to get details on how to possibly connect the scanner output to Rev OK, it's pretty basic -- the scanner sends the barcode digits to any region on the screen that can accept text, which means you can scan a code into a Rev field that has focus. As you guessed above, the scanner sends barcodes in the form of keystrokes (keyDown message). I tried scanning an iTunes gift card barcode and it works. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Any way to use BlueTooth Flic barcode scanner in Rev?
http://www.flicscanner.com/ I'd love to use this device with a Rev app I'm making if at all possible. I have no idea how to interface with BlueTooth technology, however. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Any way to use BlueTooth Flic barcode scanner in Rev?
There are a lot of bar code scanners out there. Most will work substituting for a keyboard and with any software. USB seems to be the lingua franca these days, in which case it should just plug in to a USB port and will simply type a number into 'the selection' in a field after scanning. This will work with any app that allows input into fields. some wands can 'remember' and timestamp many scans and could be docked periodically for data download. serial port for interface might be found in older models. Rev can do this, either through a real port on a PC or a virtual port with a Keyspan USB-serial dongle. If the device is bundled with inventory software, beware of proprietary connections and platform incompatibilities. bluetooth might work if the drivers patch into the keyboard input, the computer in use has bluetooth, and all the compatibility issues are met. Wouldn't it be a lot easier to use a wire? You won't need anything else if you get a USB-as-keyboard unit. so choose wisely and talk to tech support before you buy. http://www.flicscanner.com/ I'd love to use this device with a Rev app I'm making if at all possible. I have no idea how to interface with BlueTooth technology, however. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Any way to use BlueTooth Flic barcode scanner in Rev?
I'm open to the suggestion of going USB instead of BlueTooth, and picking a barcode scanner that types into an input field like a keyboard. Can anyone tell me of any favorites? In particular, any that could be wireless, collect a bunch of data, and then plug into the computer to download the data into a Revolution text field? In a message dated 1/10/07 11:37:18 AM, [EMAIL PROTECTED] writes: There are a lot of bar code scanners out there. Most will work substituting for a keyboard and with any software. USB seems to be the lingua franca these days, in which case it should just plug in to a USB port and will simply type a number into 'the selection' in a field after scanning. This will work with any app that allows input into fields. some wands can 'remember' and timestamp many scans and could be docked periodically for data download. serial port for interface might be found in older models. Rev can do this, either through a real port on a PC or a virtual port with a Keyspan USB-serial dongle. If the device is bundled with inventory software, beware of proprietary connections and platform incompatibilities. bluetooth might work if the drivers patch into the keyboard input, the computer in use has bluetooth, and all the compatibility issues are met. Wouldn't it be a lot easier to use a wire? You won't need anything else if you get a USB-as-keyboard unit. so choose wisely and talk to tech support before you buy. http://www.flicscanner.com/ I'd love to use this device with a Rev app I'm making if at all possible. I have no idea how to interface with BlueTooth technology, however. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Any way to use BlueTooth Flic barcode scanner in Rev?
Google for bar code scanners and find a manufacturer or retail that will let you borrow or return one for testing. It's very competitive out there in that market. Tell them you're a developer... I'm open to the suggestion of going USB instead of BlueTooth, and picking a barcode scanner that types into an input field like a keyboard. Can anyone tell me of any favorites? In particular, any that could be wireless, collect a bunch of data, and then plug into the computer to download the data into a Revolution text field? -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: barcode scanner
Many years ago I developed a system that collected data from a large number of barcode readers, as well as, other electronic systems. Most barcode readers then transmitted serially and could attach a prefix and postfix to the scan. We attached the individual readers to MUXs and the MUXs to a large serial switch (actually bank of serial switches). The serial switch had memory (most do). This then goes, of course, attachesto one serial port on the computer. So, depending on the nature of your app, you can then either let the reads accumulate in the switch and have your program poll the serial port when your application is ready, or set up your program to be interrupt or event driven by the serial port. Use the prefix and postfix feature of the barcode readers to parse your stream. Jim Bufalini -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of kee nethery Sent: Tuesday, November 30, 2004 6:18 PM To: How to use Revolution Subject: Re: barcode scanner On Nov 30, 2004, at 3:37 AM, Paolo Mazza wrote: I want my rev-application to collect data from a barcode scanner in background . In other words, I want to use my PC (WIN-XP) with other programs and at the same time I want my application to collect and save data from the barcode scanner. Is it possible? yes but the input has to be through something other than the normal keyboard interface. You'll need an alternate input stream and you'll need code to watch that input stream. The most common, but becoming obsolete quickly, is a serial interface. Then you have your app watch the serial interface and handle the data it receives. Beyond my abilities, I think Sarah has done much more work in this area. Kee Nethery ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution __ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
I want my rev-application to collect data from a barcode scanner in background . In other words, I want to use my PC (WIN-XP) with other programs and at the same time I want my application to collect and save data from the barcode scanner. Is it possible? yes but the input has to be through something other than the normal keyboard interface. You'll need an alternate input stream and you'll need code to watch that input stream. The most common, but becoming obsolete quickly, is a serial interface. Then you have your app watch the serial interface and handle the data it receives. Beyond my abilities, I think Sarah has done much more work in this area. There is a Serial test stack on my web site if you want to check out Kee's suggestion. Alternatively, can you check if any field has the focus and if so, pass any keyDown or rawKeyDown, if not assume it is a barcode. You would need to make sure that the focus left fields after they had been edited or used, but I can't offer any suggestions on that without knowing your setup. Or (more manually) have a checkbox that the user clicks (preferably with a keyboard shortcut) to toggle input from barcode scanner to keyboard. Cheers, Sarah [EMAIL PROTECTED] http://www.troz.net/Rev/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
On Nov 29, 2004, at 10:02 AM, Frank D. Engel, Jr. wrote: Since the barcodes rarely use letters other than a possible 'X' (ISBN #s), one workaround might be to create a 'simulated' numeric keypad on the letter keys, then trap these and handle them specially for your purposes (with a keyDown handler); for example: Y=7 U=8 I=9 H=4 J=5 K=6 N=1 M=2 ,=1 space=0 We create bar codes with letters and when the character is outside the barcode range, we use % to escape to a hex version of ascii. Thus kee%40kagi.com is my email address in the barcode. Software converts it back to the characters. This lets us do full 256 char ascii. Also, because we encode more than the normal number of characters for a single bar code, we have the first character in each barcode be a line number. So as bar codes are getting scanned, the code puts the data in the correct order and when all lines are scanned (the first line details how many lines are to be expected) we strip the line numbers, concatenate the chars convert the escape chars, and then transfer the data into the appropriate places. We scan 20 to 30 bar codes when all the data is encoded in bar code. Kee ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: barcode scanner
Most barcode scanners can be programmed to send a 'preamble' string before the data that you scan. This is how I differentiate input sources in my barcode app. Another trick is to ensure you reset the focus to a text field after you are done processing the input. Ray ..:From my Treo 600:.. Original Message From: kee nethery [EMAIL PROTECTED] Date: 11/27/04 1:24 pm To: How to use Revolution [EMAIL PROTECTED] Subj: Re: barcode scanner On Nov 27, 2004, at 10:04 AM, Michael D Mays wrote: The problem, I envision, is when you integrate a keyboard with the scanner. How can you differentiate between keyboard input and the input from the scanner? Is there a way to tell whether the input is from a scanner or the keyboard? no there is no way to differentiate between a keyboard and scanner if the scanner is acting as a keyboard. If the scanner comes in via serial cable, then it is a set of data that your program needs to gather and deal with. In that case, the data is separate. For us, it's just a fast alternate keyboard that is used to enter specific information into one specific field. Once that information is entered, a script processes the bar code data and the cursor gets moved to another field where keyboard entries are done. Then when that set of data is saved, a new blank page gets created and the cursor goes into the field for the bar code data, and the scan process starts over. Kee ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: barcode scanner
hi kee I sent this yesterday but it looks like messages from my handheld don't get thru the list filters. Most barcode scanners can be configured to send a 'preamble' at the beginning of the data they transmit. This is a useful way to handlle things and is how I do it in my barcode app. This allows you to set focus based on what's coming in. HTH, Ray Bennett ..:From my Treo 600:.. Original Message From: kee nethery [EMAIL PROTECTED] Date: 11/27/04 1:24 pm To: How to use Revolution [EMAIL PROTECTED] Subj: Re: barcode scanner On Nov 27, 2004, at 10:04 AM, Michael D Mays wrote: The problem, I envision, is when you integrate a keyboard with the scanner. How can you differentiate between keyboard input and the input from the scanner? Is there a way to tell whether the input is from a scanner or the keyboard? no there is no way to differentiate between a keyboard and scanner if the scanner is acting as a keyboard. If the scanner comes in via serial cable, then it is a set of data that your program needs to gather and deal with. In that case, the data is separate. For us, it's just a fast alternate keyboard that is used to enter specific information into one specific field. Once that information is entered, a script processes the bar code data and the cursor gets moved to another field where keyboard entries are done. Then when that set of data is saved, a new blank page gets created and the cursor goes into the field for the bar code data, and the scan process starts over. Kee ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
I want my rev-application to collect data from a barcode scanner in background . In other words, I want to use my PC (WIN-XP) with other programs and at the same time I want my application to collect and save data from the barcode scanner. Is it possible? ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
It might be, depending on the barcode scanner. However, it would likely require an external. My guess is that you would have to somehow use OS-specific routines to capture the barcode scanner device and deal with it more directly than by using the keyboard mechanism. On Nov 30, 2004, at 4:37 AM, Paolo Mazza wrote: I want my rev-application to collect data from a barcode scanner in background . In other words, I want to use my PC (WIN-XP) with other programs and at the same time I want my application to collect and save data from the barcode scanner. Is it possible? ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
On Nov 30, 2004, at 3:37 AM, Paolo Mazza wrote: I want my rev-application to collect data from a barcode scanner in background . In other words, I want to use my PC (WIN-XP) with other programs and at the same time I want my application to collect and save data from the barcode scanner. Is it possible? yes but the input has to be through something other than the normal keyboard interface. You'll need an alternate input stream and you'll need code to watch that input stream. The most common, but becoming obsolete quickly, is a serial interface. Then you have your app watch the serial interface and handle the data it receives. Beyond my abilities, I think Sarah has done much more work in this area. Kee Nethery ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
In many cases this is true. But think about the case where you are scanning identical items. It would nice to be able to type 10 and then scan the item instead of scanning each identical item. Suppose you want to route the item somewhere. You need to be able to enter the routing information. How about using a scanner to log in? You would probably want to type a password. If you just want to scan an item and then go to the next item and scan it, then not being able to tell where the input is from is fine. But in all the other cases you probably just want the scanned information going to a specific field (container) and it would be nice not to have to force the focus to that field with an addition mouseclick or tab(s) etc. Michael On Nov 27, 2004, at 10:48 AM, Frank D. Engel, Jr. wrote: This is not normally a problem. One would typically want the ability to key in the same data being scanned in the instance that the scanner fails to read the barcode (as sometimes can happen with an inaccessible or poorly conditioned barcode), so this overlap would actually make life easier. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
In that case it would likely depend on the scanner and on the interface between the scanner and the computer. In some cases this might not be possible to distinguish, in others it may depend on the configuration of the scanner, and in others it might require an external for Rev. Since the barcodes rarely use letters other than a possible 'X' (ISBN #s), one workaround might be to create a 'simulated' numeric keypad on the letter keys, then trap these and handle them specially for your purposes (with a keyDown handler); for example: Y=7 U=8 I=9 H=4 J=5 K=6 N=1 M=2 ,=1 space=0 Not a very elegant solution, but it could be made to work, and would rarely if ever interfere with a barcode scanner. On Nov 29, 2004, at 10:50 AM, Michael D Mays wrote: In many cases this is true. But think about the case where you are scanning identical items. It would nice to be able to type 10 and then scan the item instead of scanning each identical item. Suppose you want to route the item somewhere. You need to be able to enter the routing information. How about using a scanner to log in? You would probably want to type a password. If you just want to scan an item and then go to the next item and scan it, then not being able to tell where the input is from is fine. But in all the other cases you probably just want the scanned information going to a specific field (container) and it would be nice not to have to force the focus to that field with an addition mouseclick or tab(s) etc. Michael On Nov 27, 2004, at 10:48 AM, Frank D. Engel, Jr. wrote: This is not normally a problem. One would typically want the ability to key in the same data being scanned in the instance that the scanner fails to read the barcode (as sometimes can happen with an inaccessible or poorly conditioned barcode), so this overlap would actually make life easier. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
The problem, I envision, is when you integrate a keyboard with the scanner. How can you differentiate between keyboard input and the input from the scanner? Is there a way to tell whether the input is from a scanner or the keyboard? Michael On Nov 25, 2004, at 5:46 AM, Andre Garzia wrote: On Nov 25, 2004, at 9:06 AM, paolo wrote: How can I send data from a barcode scanner to a revolution stack on WIN-PC? Any of you experienced a software using a barcode scanner as data-entry in a revolution stack? Ciao Paolo Mazza I do think that barcode scanners send their data as simple ascii numbers, like if the user had typed with the numeric keypad. Like you don't really access the scanner hardware, you just put a field, when the user uses the scanner, the scannner will send the numbers and the field will be filed. But please test this before beliving in my words, I don't really know if this is how they work, but I remember researching a little while ago, and seeing something like that. If indeed they work like this, then there's not a single problem when creating stacks... cheers andre PS: I just saw a USB barcode scanner like those credit card scanners... ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution -- Andre Alves Garzia 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
This is not normally a problem. One would typically want the ability to key in the same data being scanned in the instance that the scanner fails to read the barcode (as sometimes can happen with an inaccessible or poorly conditioned barcode), so this overlap would actually make life easier. On Nov 27, 2004, at 11:04 AM, Michael D Mays wrote: The problem, I envision, is when you integrate a keyboard with the scanner. How can you differentiate between keyboard input and the input from the scanner? Is there a way to tell whether the input is from a scanner or the keyboard? Michael On Nov 25, 2004, at 5:46 AM, Andre Garzia wrote: On Nov 25, 2004, at 9:06 AM, paolo wrote: How can I send data from a barcode scanner to a revolution stack on WIN-PC? Any of you experienced a software using a barcode scanner as data-entry in a revolution stack? Ciao Paolo Mazza I do think that barcode scanners send their data as simple ascii numbers, like if the user had typed with the numeric keypad. Like you don't really access the scanner hardware, you just put a field, when the user uses the scanner, the scannner will send the numbers and the field will be filed. But please test this before beliving in my words, I don't really know if this is how they work, but I remember researching a little while ago, and seeing something like that. If indeed they work like this, then there's not a single problem when creating stacks... cheers andre PS: I just saw a USB barcode scanner like those credit card scanners... ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution -- Andre Alves Garzia 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
On Nov 27, 2004, at 10:04 AM, Michael D Mays wrote: The problem, I envision, is when you integrate a keyboard with the scanner. How can you differentiate between keyboard input and the input from the scanner? Is there a way to tell whether the input is from a scanner or the keyboard? no there is no way to differentiate between a keyboard and scanner if the scanner is acting as a keyboard. If the scanner comes in via serial cable, then it is a set of data that your program needs to gather and deal with. In that case, the data is separate. For us, it's just a fast alternate keyboard that is used to enter specific information into one specific field. Once that information is entered, a script processes the bar code data and the cursor gets moved to another field where keyboard entries are done. Then when that set of data is saved, a new blank page gets created and the cursor goes into the field for the bar code data, and the scan process starts over. Kee ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
Thanks to everybody. I really appreciated your suggestions on the barcode issue. I will buy a barcode scanner tomorrow, I will test your script and let you know. I am supposed to set up a Personnel control System using a win-PC and Revolution. Best regards, Paolo Mazza Venerdì, 26 Nov 2004, alle 00:45 Europe/Rome, Sarah Reichelt ha scritto: Hi Paolo, As Roger pointed out, I have a Barcode Tester stack that will help, as well as a stack that creates Code 128 barcodes if that is any use. As others have said, the barcode scanner is exactly the same as a keyboard, all you have to do is work out what rawKey code your barcode scanner sends to indicate the end of a scan. Mine uses 65293 so here are the scripts I need: -- Any keyDown on the listed cards is taken as being a barcode character. -- on keyDown theKey put Front,Packing,Storing into codeCards if the short name of this card is in codeCards then put theKey after fld Barcode else pass keyDown end if end keyDown -- When the end character is received, process the characters -- that have already arrived. -- Don't forget to clear the Barcode field afterwards. -- on rawKeyDown theKey if theKey = 65293 then put the short name of this card into cardName send mouseUp to btn Process Barcode of cd cardName else pass rawKeyDown end if end rawKeyDown Cheers, Sarah [EMAIL PROTECTED] http://www.troz.net/Rev/ Check out Sarah's Barcode Tester stack at http://www.troz.net/Rev/ I think it will provide exactly what you are looking for. Kind Regards, Roger Eller [EMAIL PROTECTED] On 11/25/2004 at 6:06 AM, Paolo Mazza wrote: How can I send data from a barcode scanner to a revolution stack on WIN-PC? Any of you experienced a software using a barcode scanner as data-entry in a revolution stack? Ciao Paolo Mazza ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
Hi, thak you for offering your Mac Apple Desktop Bus bar code scanners. However I think l I need a USB code scanner too. Any suggestion for a reliable and not expensive USB code scanner? ciao Paolo Mazza Giovedì, 25 Nov 2004, alle 15:20 Europe/Rome, kee nethery ha scritto: bar code scanners act just like a keyboard. You select the field that you want the scanner to type into, scan the bar code, and assuming you configured your bar code scanner to end transmission with a return, the return in field command will tell the field that it is time to process what just got typed into it. To summarize, bar code scanner = keyboard Kee Nethery BTW, I have two Mac Apple Desktop Bus bar code scanners that anyone on this list can have for free if they pay shipping. We switched to USB and these work fine but we no longer need them. On Nov 25, 2004, at 5:06 AM, paolo wrote: How can I send data from a barcode scanner to a revolution stack on WIN-PC? Any of you experienced a software using a barcode scanner as data-entry in a revolution stack? Ciao Paolo Mazza ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
On Nov 26, 2004, at 2:30 AM, Paolo Mazza wrote: Any suggestion for a reliable and not expensive USB code scanner? ciao Paolo Mazza get a laser scanner, not a CCD scanner. The CCD scanners work if the barcode is within a specific size range and if the quality is sufficient. The laser scanners tolerate a wider variety of bar code sizes and quality. Kee Nethery ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
barcode scanner
How can I send data from a barcode scanner to a revolution stack on WIN-PC? Any of you experienced a software using a barcode scanner as data-entry in a revolution stack? Ciao Paolo Mazza ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
On Nov 25, 2004, at 9:06 AM, paolo wrote: How can I send data from a barcode scanner to a revolution stack on WIN-PC? Any of you experienced a software using a barcode scanner as data-entry in a revolution stack? Ciao Paolo Mazza I do think that barcode scanners send their data as simple ascii numbers, like if the user had typed with the numeric keypad. Like you don't really access the scanner hardware, you just put a field, when the user uses the scanner, the scannner will send the numbers and the field will be filed. But please test this before beliving in my words, I don't really know if this is how they work, but I remember researching a little while ago, and seeing something like that. If indeed they work like this, then there's not a single problem when creating stacks... cheers andre PS: I just saw a USB barcode scanner like those credit card scanners... ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution -- Andre Alves Garzia 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
bar code scanners act just like a keyboard. You select the field that you want the scanner to type into, scan the bar code, and assuming you configured your bar code scanner to end transmission with a return, the return in field command will tell the field that it is time to process what just got typed into it. To summarize, bar code scanner = keyboard Kee Nethery BTW, I have two Mac Apple Desktop Bus bar code scanners that anyone on this list can have for free if they pay shipping. We switched to USB and these work fine but we no longer need them. On Nov 25, 2004, at 5:06 AM, paolo wrote: How can I send data from a barcode scanner to a revolution stack on WIN-PC? Any of you experienced a software using a barcode scanner as data-entry in a revolution stack? Ciao Paolo Mazza ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
Hi Paolo, On Nov 25, 2004, at 05:06, paolo wrote: How can I send data from a barcode scanner to a revolution stack on WIN-PC? Any of you experienced a software using a barcode scanner as data-entry in a revolution stack? Ciao Paolo Mazza I wrote a sample RR app for a fellow that drives a barcode scanner. If can wait until I'm back at work on Monday I can email a copy to you. --gordon ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
Paolo, Check out Sarah's Barcode Tester stack at http://www.troz.net/Rev/ I think it will provide exactly what you are looking for. Kind Regards, Roger Eller [EMAIL PROTECTED] On 11/25/2004 at 6:06 AM, Paolo Mazza wrote: How can I send data from a barcode scanner to a revolution stack on WIN-PC? Any of you experienced a software using a barcode scanner as data-entry in a revolution stack? Ciao Paolo Mazza ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
Hi Paolo, As Roger pointed out, I have a Barcode Tester stack that will help, as well as a stack that creates Code 128 barcodes if that is any use. As others have said, the barcode scanner is exactly the same as a keyboard, all you have to do is work out what rawKey code your barcode scanner sends to indicate the end of a scan. Mine uses 65293 so here are the scripts I need: -- Any keyDown on the listed cards is taken as being a barcode character. -- on keyDown theKey put Front,Packing,Storing into codeCards if the short name of this card is in codeCards then put theKey after fld Barcode else pass keyDown end if end keyDown -- When the end character is received, process the characters -- that have already arrived. -- Don't forget to clear the Barcode field afterwards. -- on rawKeyDown theKey if theKey = 65293 then put the short name of this card into cardName send mouseUp to btn Process Barcode of cd cardName else pass rawKeyDown end if end rawKeyDown Cheers, Sarah [EMAIL PROTECTED] http://www.troz.net/Rev/ Check out Sarah's Barcode Tester stack at http://www.troz.net/Rev/ I think it will provide exactly what you are looking for. Kind Regards, Roger Eller [EMAIL PROTECTED] On 11/25/2004 at 6:06 AM, Paolo Mazza wrote: How can I send data from a barcode scanner to a revolution stack on WIN-PC? Any of you experienced a software using a barcode scanner as data-entry in a revolution stack? Ciao Paolo Mazza ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution