473,396 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 4188
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: CHANGE username to westes | last post by:
What are the most popular, and well supported, libraries of drivers for bar code scanners that include a Visual Basic and C/C++ API? My requirements are: - Must allow an application to be...
8
by: DS | last post by:
Does anyone know anything about barcodes in Access. I don't want to create them in Access. I merely want to scan whats already been created. I need to scan Liquor bottles. I have the scanner...
4
by: djbaker | last post by:
Greetings, I would like to integrate a barcode scanner into the current project I am working on. I have been looking around teh web and with the exception of embeded devices I cannot find many...
2
by: nmrpa91290 | last post by:
Hi, I am in the design phase of building a database that will track the productivity of my warehouse. I am thinking of using a barcode scanner to assist me with this. Employees will hopefully...
7
by: jim | last post by:
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...
7
by: phill86 | last post by:
Hi, I have a form with a number of combo box's the first combo box contains a barcode that is associated with user information then the next box contains a barcode that is associated with task...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.