469,645 Members | 1,134 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,645 developers. It's quick & easy.

Barcode scanning help desperately needed!

jim
I need to have 2 simple barcode reader applications finished by midnight
tonight. I have never written any barcode reader software and need any help
that you may be able to offer.

I do not know what type of barcode the user will have, so I need to be able
to accept input from any industry standard barcode reader.

I need to check the barcodes scanned to see if they are in a database of
acceptable barcodes and simply show ACCEPT or REJECT on the screen. I can
handle the database stuff just fine, but I am wondering if there is any
barcode reader code or components that I may need to make this thing work -
or does the barcode reader simply send in the read data in a standard
numerical format.

If it sends in the data in a standard numerical format, what might that be
or would it depend on the scanner?

Also, is it just as simple to build the barcode reader app as a webpage that
automatically displays a result for every barcode scanned? (I really don;t
want them to have to "press enter" for each scan. It would really slow
things down.)

Thanks so much for your help. I'll be building and populating the database,
but I'll check here periodically throughout the day.

Thanks so much for your help in this crunch!

jim
Dec 10 '07 #1
7 3907
Hi,

Take a look at this:
http://www.codeproject.com/KB/graphi..._barcodes.aspx
http://www.codeproject.com/KB/GDI-pl...etbarcode.aspx
http://www.codeproject.com/KB/graphi...a_barcode.aspx

Of course, since it is LGPL, you have to include the author somewhere in
your app.

--
Regards,
Mohamed Mansour
Microsoft Student Partner

"jim" <ji*@home.netwrote in message
news:LW******************@bignews2.bellsouth.net.. .
I need to have 2 simple barcode reader applications finished by midnight
tonight. I have never written any barcode reader software and need any
help that you may be able to offer.

I do not know what type of barcode the user will have, so I need to be
able to accept input from any industry standard barcode reader.

I need to check the barcodes scanned to see if they are in a database of
acceptable barcodes and simply show ACCEPT or REJECT on the screen. I can
handle the database stuff just fine, but I am wondering if there is any
barcode reader code or components that I may need to make this thing
work - or does the barcode reader simply send in the read data in a
standard numerical format.

If it sends in the data in a standard numerical format, what might that be
or would it depend on the scanner?

Also, is it just as simple to build the barcode reader app as a webpage
that automatically displays a result for every barcode scanned? (I really
don;t want them to have to "press enter" for each scan. It would really
slow things down.)

Thanks so much for your help. I'll be building and populating the
database, but I'll check here periodically throughout the day.

Thanks so much for your help in this crunch!

jim
Dec 10 '07 #2
On Mon, 10 Dec 2007 05:55:45 -0500, "jim" <ji*@home.netwrote:
>I need to have 2 simple barcode reader applications finished by midnight
tonight. I have never written any barcode reader software and need any help
that you may be able to offer.

I do not know what type of barcode the user will have, so I need to be able
to accept input from any industry standard barcode reader.

I need to check the barcodes scanned to see if they are in a database of
acceptable barcodes and simply show ACCEPT or REJECT on the screen. I can
handle the database stuff just fine, but I am wondering if there is any
barcode reader code or components that I may need to make this thing work -
or does the barcode reader simply send in the read data in a standard
numerical format.

If it sends in the data in a standard numerical format, what might that be
or would it depend on the scanner?
The barcode readers that I have dealt with simply generate keyboard
input, and most will optionally append Enter at the end of the
barcode.

Usually the reader will be configured not to return any synch
characters that are part of the barcode, so you will get only the data
you need.
Dec 10 '07 #3
jim
"Jack Jackson" <ja********@pebbleridge.comwrote in message
news:md********************************@4ax.com...
On Mon, 10 Dec 2007 05:55:45 -0500, "jim" <ji*@home.netwrote:
>>I need to have 2 simple barcode reader applications finished by midnight
tonight. I have never written any barcode reader software and need any
help
that you may be able to offer.

I do not know what type of barcode the user will have, so I need to be
able
to accept input from any industry standard barcode reader.

I need to check the barcodes scanned to see if they are in a database of
acceptable barcodes and simply show ACCEPT or REJECT on the screen. I can
handle the database stuff just fine, but I am wondering if there is any
barcode reader code or components that I may need to make this thing
work -
or does the barcode reader simply send in the read data in a standard
numerical format.

If it sends in the data in a standard numerical format, what might that be
or would it depend on the scanner?

The barcode readers that I have dealt with simply generate keyboard
input, and most will optionally append Enter at the end of the
barcode.

Usually the reader will be configured not to return any synch
characters that are part of the barcode, so you will get only the data
you need.
Thanks so much for the info!

jim
Dec 10 '07 #4
jim
These links seem to be pointing to how to make/print barcodes instead of how
to read them, but I appreciate the links. They should come in handy.

jim
"Mohamed Mansour" <m0@community.nospamwrote in message
news:3A**********************************@microsof t.com...
Hi,

Take a look at this:
http://www.codeproject.com/KB/graphi..._barcodes.aspx
http://www.codeproject.com/KB/GDI-pl...etbarcode.aspx
http://www.codeproject.com/KB/graphi...a_barcode.aspx

Of course, since it is LGPL, you have to include the author somewhere in
your app.

--
Regards,
Mohamed Mansour
Microsoft Student Partner

"jim" <ji*@home.netwrote in message
news:LW******************@bignews2.bellsouth.net.. .
>I need to have 2 simple barcode reader applications finished by midnight
tonight. I have never written any barcode reader software and need any
help that you may be able to offer.

I do not know what type of barcode the user will have, so I need to be
able to accept input from any industry standard barcode reader.

I need to check the barcodes scanned to see if they are in a database of
acceptable barcodes and simply show ACCEPT or REJECT on the screen. I
can handle the database stuff just fine, but I am wondering if there is
any barcode reader code or components that I may need to make this thing
work - or does the barcode reader simply send in the read data in a
standard numerical format.

If it sends in the data in a standard numerical format, what might that
be or would it depend on the scanner?

Also, is it just as simple to build the barcode reader app as a webpage
that automatically displays a result for every barcode scanned? (I really
don;t want them to have to "press enter" for each scan. It would really
slow things down.)

Thanks so much for your help. I'll be building and populating the
database, but I'll check here periodically throughout the day.

Thanks so much for your help in this crunch!

jim

Dec 10 '07 #5
JDS
On Dec 10, 10:55 am, "jim" <j...@home.netwrote:
I need to have 2 simple barcode reader applications finished by midnight
tonight. I have never written any barcode reader software and need any help
that you may be able to offer.

I do not know what type of barcode the user will have, so I need to be able
to accept input from any industry standard barcode reader.

I need to check the barcodes scanned to see if they are in a database of
acceptable barcodes and simply show ACCEPT or REJECT on the screen. I can
handle the database stuff just fine, but I am wondering if there is any
barcode reader code or components that I may need to make this thing work -
or does the barcode reader simply send in the read data in a standard
numerical format.

If it sends in the data in a standard numerical format, what might that be
or would it depend on the scanner?

Also, is it just as simple to build the barcode reader app as a webpage that
automatically displays a result for every barcode scanned? (I really don;t
want them to have to "press enter" for each scan. It would really slow
things down.)

Thanks so much for your help. I'll be building and populating the database,
but I'll check here periodically throughout the day.

Thanks so much for your help in this crunch!

jim
The data allowed within the barcode will depend on the barcode type;
e.g. EAN barcodes will only allow numeric values, other barcodes allow
alpha characters. Terminating characters depend on the barcode scanner
and how it is configured; typically they allow you to specify whether
CR or CR/LF and I think the Enter key is represented by an extended
ASCII code (don't quote me on that last one!) - I'd suggest you allow
in code for different terminating characters and provide an easy way
of changing from one to another.

The physical connection will also depend on the barcode type. Typical
is a Wedge cable that allows the barcode data to be merged with the
keyboard input; this makes it easy in developing the application
because you just treat the incoming data as if it was input from the
keyboard. However, other interfaces are also available, for example
RS232, USB and Bluetooth and these would require a lot more effort to
handle.

HTH!
Dec 10 '07 #6
JDS
On Dec 10, 10:07 pm, JDS <ad...@jeremysage.comwrote:
On Dec 10, 10:55 am, "jim" <j...@home.netwrote:


I need to have 2 simple barcode reader applications finished by midnight
tonight. I have never written any barcode reader software and need any help
that you may be able to offer.
I do not know what type of barcode the user will have, so I need to be able
to accept input from any industry standard barcode reader.
I need to check the barcodes scanned to see if they are in a database of
acceptable barcodes and simply show ACCEPT or REJECT on the screen. I can
handle the database stuff just fine, but I am wondering if there is any
barcode reader code or components that I may need to make this thing work -
or does the barcode reader simply send in the read data in a standard
numerical format.
If it sends in the data in a standard numerical format, what might that be
or would it depend on the scanner?
Also, is it just as simple to build the barcode reader app as a webpage that
automatically displays a result for every barcode scanned? (I really don;t
want them to have to "press enter" for each scan. It would really slow
things down.)
Thanks so much for your help. I'll be building and populating the database,
but I'll check here periodically throughout the day.
Thanks so much for your help in this crunch!
jim

The data allowed within the barcode will depend on the barcode type;
e.g. EAN barcodes will only allow numeric values, other barcodes allow
alpha characters. Terminating characters depend on the barcode scanner
and how it is configured; typically they allow you to specify whether
CR or CR/LF and I think the Enter key is represented by an extended
ASCII code (don't quote me on that last one!) - I'd suggest you allow
in code for different terminating characters and provide an easy way
of changing from one to another.

The physical connection will also depend on the barcode type. Typical
is a Wedge cable that allows the barcode data to be merged with the
keyboard input; this makes it easy in developing the application
because you just treat the incoming data as if it was input from the
keyboard. However, other interfaces are also available, for example
RS232, USB and Bluetooth and these would require a lot more effort to
handle.

HTH!- Hide quoted text -

- Show quoted text -
EDIT: sorry, correction to the above: the physical connection will
depend on what has been specified for the scanner and is independent
of the barcode type.
Dec 10 '07 #7
On Mon, 10 Dec 2007 14:07:27 -0800 (PST), JDS <ad***@jeremysage.com>
wrote:
>On Dec 10, 10:55 am, "jim" <j...@home.netwrote:
>I need to have 2 simple barcode reader applications finished by midnight
tonight. I have never written any barcode reader software and need any help
that you may be able to offer.

I do not know what type of barcode the user will have, so I need to be able
to accept input from any industry standard barcode reader.

I need to check the barcodes scanned to see if they are in a database of
acceptable barcodes and simply show ACCEPT or REJECT on the screen. I can
handle the database stuff just fine, but I am wondering if there is any
barcode reader code or components that I may need to make this thing work -
or does the barcode reader simply send in the read data in a standard
numerical format.

If it sends in the data in a standard numerical format, what might that be
or would it depend on the scanner?

Also, is it just as simple to build the barcode reader app as a webpage that
automatically displays a result for every barcode scanned? (I really don;t
want them to have to "press enter" for each scan. It would really slow
things down.)

Thanks so much for your help. I'll be building and populating the database,
but I'll check here periodically throughout the day.

Thanks so much for your help in this crunch!

jim

The data allowed within the barcode will depend on the barcode type;
e.g. EAN barcodes will only allow numeric values, other barcodes allow
alpha characters. Terminating characters depend on the barcode scanner
and how it is configured; typically they allow you to specify whether
CR or CR/LF and I think the Enter key is represented by an extended
ASCII code (don't quote me on that last one!) - I'd suggest you allow
in code for different terminating characters and provide an easy way
of changing from one to another.

The physical connection will also depend on the barcode type. Typical
is a Wedge cable that allows the barcode data to be merged with the
keyboard input; this makes it easy in developing the application
because you just treat the incoming data as if it was input from the
keyboard. However, other interfaces are also available, for example
RS232, USB and Bluetooth and these would require a lot more effort to
handle.

HTH!
I have used a USB scanner whose output appeared as keyboard input with
no special handling in the app.
Dec 11 '07 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

21 posts views Thread by CHANGE username to westes | last post: by
8 posts views Thread by DS | last post: by
4 posts views Thread by djbaker | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.