Thread View: borland.public.jbuilder.java.swing
3 messages
3 total messages
Started by Lovlish
Mon, 26 Apr 2004 15:54
GUI interface with Laser Scanner
Author: Lovlish
Date: Mon, 26 Apr 2004 15:54
Date: Mon, 26 Apr 2004 15:54
2 lines
1207 bytes
1207 bytes
I need to know how to interface a laser scanner that acts as an extension to the keyboard. When something is scanned, it is input onto a text document, notepad, wordpad, and excel sheet automatically. But it does not enter any data into the GUI user prompt pop up window. Can someone please help and teach me how to interface the Java program to the Laser Scanner.
Re: GUI interface with Laser Scanner
Author: Kevin Dean
Date: Mon, 26 Apr 2004 20:46
Date: Mon, 26 Apr 2004 20:46
38 lines
2643 bytes
2643 bytes
Laser scanners typically operate in what is called "wedge" mode. That means that, when you scan the label, the data from the label is entered as if it came from your keyboard. (Historically, older laser scanners plugged in between the keyboard and the computer, hence the term "wedge".) Word, Excel, Notepad etc. don't know about laser scanners. They process the keystrokes that the laser scanner generates without knowing anything about the source. At first blush, I suspect that the edit field you are working with has not been selected properly. You should be able to type into the field without the laser scanner. If typing produces nothing, then the field hasn't been selected. Click on the field with the mouse and try again. If that works, then try the laser scanner. You can force the field to be selected by using the requestFocus() method when the form is displayed: myTextField.requestFocus(); -- Check out our latest white papers at http://www.datadevelopment.com/papers/index.html BladeNET Scores With Borland Enterprise Tools Team Development with JBuilder and Borland Enterprise Server Dolphin Data Development Ltd. http://www.datadevelopment.com/ "Lovlish" <lovlish@perfumeworldwide.com> wrote in message news:408d309d$1@newsgroups.borland.com... > > I need to know how to interface a laser scanner that acts as an extension to the keyboard. When something is scanned, it is input onto a text document, notepad, wordpad, and excel sheet automatically. But it does not enter any data into the GUI user prompt pop up window. Can someone please help and teach me how to interface the Java program to the Laser Scanner.
Re: GUI interface with Laser Scanner
Author: Lovlish
Date: Mon, 26 Apr 2004 22:26
Date: Mon, 26 Apr 2004 22:26
48 lines
2899 bytes
2899 bytes
Mr. Kevin,
Thank you very much on your insight. Your help is greatly appreciated.
Sincerely,
Lovlish Gupta
"Kevin Dean" <NkOdSePaAnM@datadevelopment.com> wrote:
>Laser scanners typically operate in what is called "wedge" mode. That means
>that, when you scan the label, the data from the label is entered as if it
>came from your keyboard. (Historically, older laser scanners plugged in
>between the keyboard and the computer, hence the term "wedge".)
>
>Word, Excel, Notepad etc. don't know about laser scanners. They process the
>keystrokes that the laser scanner generates without knowing anything about
>the source.
>
>At first blush, I suspect that the edit field you are working with has not
>been selected properly. You should be able to type into the field without
>the laser scanner. If typing produces nothing, then the field hasn't been
>selected. Click on the field with the mouse and try again. If that works,
>then try the laser scanner.
>
>You can force the field to be selected by using the requestFocus() method
>when the form is displayed:
>
>myTextField.requestFocus();
>
>--
>Check out our latest white papers at
>http://www.datadevelopment.com/papers/index.html
>
>BladeNET Scores With Borland Enterprise Tools
>Team Development with JBuilder and Borland Enterprise Server
>
>Dolphin Data Development Ltd.
>http://www.datadevelopment.com/
>
>"Lovlish" <lovlish@perfumeworldwide.com> wrote in message
>news:408d309d$1@newsgroups.borland.com...
>>
>> I need to know how to interface a laser scanner that acts as an extension
>to the keyboard. When something is scanned, it is input onto a text
>document, notepad, wordpad, and excel sheet automatically. But it does not
>enter any data into the GUI user prompt pop up window. Can someone please
>help and teach me how to interface the Java program to the Laser Scanner.
>
>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads