This project has moved and is read-only. For the latest updates, please go here.

When printing a GUID to a barcode, I'm missing characters

Topics: Code 128
Jan 21, 2013 at 6:51 AM


I'm using BarCodeDraw to generate a guid barcode (Code 128) but when I try to scan the code (using USB scanner) I'm usually missing a few characters - usually somewhere in the second half.

Am I doing something wrong? Here is my code:

var drawObject = BarcodeDrawFactory.GetSymbology(BarCodeType);

Guid g = Guid.NewGuid();

Image i = drawObject.Draw(g.ToString(), 40);

When I print the code out the string I get from the bar code reader is never the same as the GUID that went in - it is always shorter for at least 1 character...

Is there something else I can do?

Thank you for your help!

Jan 21, 2013 at 7:51 AM

Interestingly enough I tried printing the same codes with Code 93 and the problem went away. So I think I will just stick to that one, but I'd still like to know more about the problem I was having, just in case it ever comes back!

Thank you!