Solved

Fetch barcode from the Metrologic Scanpal2 Reader

Posted on 2006-11-24
4
587 Views
Last Modified: 2012-08-14
A friend of mine has a Metrologic Scanpal2 data collector/barcode reader. The reader supports uploading an appliucation to the device which is defined by an application generator that is shipped with the device bujt he wants to only fetch the barcode and store it in his access database. How do i approach the task of reading the barcode from the Metrologic Scanpal2 device?
0
Comment
Question by:seanyp_2007
  • 2
4 Comments
 
LVL 8

Expert Comment

by:doraiswamy
ID: 18010637
Generally most scanners have an interface to the PC known as the "Keyboard Wedge". When connected through the keyboard wedge, barcodes scanned by the scanner are converted to keystrokes and can be captured by any application which has input key focus.
0
 
LVL 6

Accepted Solution

by:
cjard earned 250 total points
ID: 18010993
The scanpal2 is a handheld barcode-capable data accumulator, not a barcode scanner. It doesnt work as a keyboard wedge:

http://www.beechman.co.uk/metrologic-scanpal2-data-terminal.htm

http://www.metrologic.com/corporate/products/pos/scanpal2.htm


If your friend wants a barcode scanner, tell him to buy a barcode scanner, not a data collector. This device is used for wandering round a shop collecting hundreds of barcodes into a csv file for later processing on computer.. To use it as a barcdode scanner you would have to load an application onto it that made it sync the csv file every time it scanned a barcode. Given what the cheapest metrologic laser based barcode scanner costs, you would spend more time and money messing with a datacollector turning it into a slow, inefficient scanner than you would just buying a proper scanner..
:)
0
 
LVL 1

Author Comment

by:seanyp_2007
ID: 18014517
Thank you cjard I was thinking along the same lines but I didn't know if I was in the right about that. Now that you have confirmed it I can go ahead and make a recommendation that he purchase a barcode scanner. One thing I'd like to know though when I use this keyboard wedge scenario on a notebook would the notebook's keypad still work?
0
 
LVL 6

Expert Comment

by:cjard
ID: 18018014
It actually depends on the setting in the BIOS of the laptop. By default, every laptop i have seen, allows the laptop keyboard to carry on working when an external keyboard is plugged in. This can be switched off if you choose.

The scanner works just like a keyboard - you plug it into the keyboard port, focus the system cursor on a text box and scan a barcode. The scanner "types" every character it has read and "presses return" at the end of the barcode, so you attach an event handler to return key in your program and use it to determine the end of the barcode

additionally, once upon a time for my companny it was necessary to detect whether the scanner was typing or whether a human was typing (because peoiple were trying to scan barcodes into price fields)

We found the simplest solution was to total up the time taken to enter the barcode and divide it by the number of digits to achieve an "average rate of keypresses". We found that our scanners on average pressed a key every 10 ms, whereas humans were 20 times slower at about 200ms for the fastest typers. Evena  human hammering the keyboard with flat hands couldnt achieve a rate fast enough to confuse the program. If this need arises in your software, thats the way to do it! Scanners are also even, whereas humans type erratically
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
word0 challenge 4 65
Arduino EDI - Programming language 3 80
creating threads in delphi 1 82
Not needed 13 94
This article will show, step by step, how to integrate R code into a R Sweave document
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now