Solved

Parsing datamatrix barcodes

Posted on 2011-09-30
6
352 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
strCopies  challenge 17 81
recursion example 16 111
Currency Conversion? 1 68
"Black Box" Testing of Control System Software 2 17
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
A short article about problems I had with the new location API and permissions in Marshmallow
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
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…

929 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now