Solved

Parsing datamatrix barcodes

Posted on 2011-09-30
6
369 Views
Last Modified: 2012-06-27
I am writing an application for a client that needs to parse the data in a datamatrix bar code into the SKU, batch/serial number and expiry date. Most of the items are pharmaceutical in nature.

Is there a central resource that publishes the format of the data that is encoded in datamatrix bar codes or does each manufacturer do its own thing and must I work out the formatting for each manufacturer's items?

I was hoping that when I know the manufacturer ID I can then extract the product code, batch number (or serial number) and the expiry date in a reasonably consistent fashion.
0
Comment
Question by:mdspencer
  • 4
  • 2
6 Comments
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 36892467
You can purchase the standard from the ISO here
http://webstore.ansi.org/RecordDetail.aspx?sku=ISO%2fIEC+16022%3a2006
Looks a bit expensive to me (255 USD)
Plus it will be very technical and won't tell you which of the possible formats your manufacturers use.
If you go here: http://www.racoindustries.com/barcodegenerator/2d/datamatrix.aspx you can play around with the barcode generator and get an idea of how it works.
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 36892520
It is up to the manufacturer how they format the data in the code and there are several formats to choose from http://www.machinevisiononline.org/vision-resources-details.cfm/Machine-Vision-Online/Data-Matrix-Sets-the-Standard-for-Identification/content_id/1975
You are going to have to get the data from each manufacturer, but it's likely that most of them will just tell you how they have it set up and may even have it published somewhere.

I was hoping that when I know the manufacturer ID I can then extract the product code, batch number (or serial number) and the expiry date in a reasonably consistent fashion.
Yes. That will certainly be the case.
0
 
LVL 37

Accepted Solution

by:
TommySzalapski earned 250 total points
ID: 36892523
As long as you mean consistant for that particular manufacturer.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Author Comment

by:mdspencer
ID: 36904920
Hi. Thanks for your responses. It is not quite what I am looking for but I think that you have answered the question indirectly so thanks for your time. It would appear that each manufacturer will format the data in whatever way suits them.
0
 
LVL 2

Author Closing Comment

by:mdspencer
ID: 36904925
As per my last note...
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 36905155
It would appear that each manufacturer will format the data in whatever way suits them.
Yes. That was exactly my point. I'm sorry if that was not clear.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

730 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