For Programmers: Free Programming Magazines  


Home > Archive > Clipper > June 2004 > Reading code bars









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Reading code bars
A.M.

2004-06-11, 8:55 am

Hi at all,
any code bars reader with keyboard emulation, send to a get system a string
of numbers that it rreaded.
This string of numbers can have a different number of digit and if I choice
13 as standard number of digit into my get, when my code bars reader read a
code that is less then 13, the s into the database do not start
automatically and the user must press return also if the set confirm is off.
How can I do to start the s() function in my database automatically
without to press return with any number of digit passed from the reader?
Thank in advance
P.Pietro


Nick Ramsay

2004-06-11, 8:55 am

On Fri, 11 Jun 2004 10:43:00 GMT, "A.M." <eurotimeNOTSPAM@eurotime.it>
wrote:

>Hi at all,
>any code bars reader with keyboard emulation, send to a get system a string
>of numbers that it rreaded.
>This string of numbers can have a different number of digit and if I choice
>13 as standard number of digit into my get, when my code bars reader read a
>code that is less then 13, the s into the database do not start
>automatically and the user must press return also if the set confirm is off.
>How can I do to start the s() function in my database automatically
>without to press return with any number of digit passed from the reader?
>Thank in advance


Set the reader to send a <CR> [CHR(13)] after the barcode.

gabor salai

2004-06-11, 8:55 am

"Nick Ramsay" <news@nospam.demon.co.uk> wrote in message
news:tv4jc0ddqt2iumpjsg918i1ncm031la24o@
4ax.com...
> On Fri, 11 Jun 2004 10:43:00 GMT, "A.M." <eurotimeNOTSPAM@eurotime.it>
> wrote:
>
string[color=darkred]
choice[color=darkred]
a[color=darkred]
off.[color=darkred]
>
> Set the reader to send a <CR> [CHR(13)] after the barcode.


i like to have special suffix key, like "$", or some nonprintable [depending
of reader type] and to have "set key " clause on that key.
so, after reader sends data, apropriate procedure for data processing may
be invoked [trapped] automaticly.
of course, this is just an idea, appending chr(13) should be also good.




Rey Guerrero

2004-06-12, 3:55 am

"gabor salai" <gaborDOTsalai@euroherc.hr> wrote in message news:<cac534$oom$1@ls219.htnet.hr>...
> "Nick Ramsay" <news@nospam.demon.co.uk> wrote in message
> news:tv4jc0ddqt2iumpjsg918i1ncm031la24o@
4ax.com...
> string
> choice
> a
> off.
>
> i like to have special suffix key, like "$", or some nonprintable [depending
> of reader type] and to have "set key " clause on that key.
> so, after reader sends data, apropriate procedure for data processing may
> be invoked [trapped] automaticly.
> of course, this is just an idea, appending chr(13) should be also good.


It depends on the barcode reader you are using. Some readers can be
programmed using special barcodes to add suffixes to the data read.

Refer to your hardware's manual.

HTH,

dIEGO
gabor salai

2004-06-12, 3:55 am

"Rey Guerrero" <rey_guerrero@hotmail.com> wrote in message
news:d401c59b.0406111904.1415acb6@posting.google.com...
> "gabor salai" <gaborDOTsalai@euroherc.hr> wrote in message

news:<cac534$oom$1@ls219.htnet.hr>...
read[color=darkred]
is[color=darkred]
automatically[color=darkred]
reader?[color=darkred]
[depending[color=darkred]
may[color=darkred]
>
> It depends on the barcode reader you are using. Some readers can be
> programmed using special barcodes to add suffixes to the data read.
>
> Refer to your hardware's manual.


yes, you allways must consult manual. readers are usualy not
standardized [yet]. so relying on some feature of one of them may
lead to great troubles when replacing reader with new,
notcompatible ones ...


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com