DataMatrix Too Big
7 posts • Page 1 of 1
DataMatrix Too Big
I'm demoing the Active X control for a tag printing application that is being built. I am able to successfully generate the DataMatrix barcode, but its far too large. The ActiveX control tells me that it has to be at least 40x40, but its only 10 alphanumeric characters long. I've run through a couple of other tag printers and they all print it at 14x14. Is there something I'm not setting properly?
Thanks!
Thanks!
- christopher.k(legacy member)
Re: DataMatrix Too Big
Something is obviously wrong here. A 10 alpha letters should not use 40X40. Can you post the data here? If you do not want other people to see it, send it to support@morovia.com.
- glitch (legacy member)
Re: DataMatrix Too Big
Hmm...not sure what happened over the weekend, but when I try it now, it tells me the minimum size is 16X16, which would make sense as the original matrix is 14X14 and I'm sure whatever DEMO message is attached pushes up to 16X16. I'll keep an eye on it and repost if it acts up again.
Thanks.
Thanks.
- christopher.k(legacy member)
Re: DataMatrix Too Big
If you are using DataMatrix Fontware Trial Version(http://www.morovia.com/fonts/datamatrix/), "DEMO " text goes into the barcode, which will increase the overall size.
Edited by glitch on November 05 2007 at 5:04pm
Edited by glitch on November 05 2007 at 5:04pm
- glitch (legacy member)
Re: DataMatrix Too Big
And lo, it has returned. I ended up picking up a retail copy for developers because Morovia's software was probably the most robust for the price. When I went back into my demo app, I got the message saying the size had to be 40X40, even though I was passing it the same 10 character string as before. It seems to want to make the barcode into a 4 quadrant barcode instead of the single quadrant one I need. I don't know if this is a setting I need to change or what, since last time it kind of fixed itself. If needed, I can try and post some pictures if that will help.
Thanks
[list=][/list]
Thanks
[list=][/list]
- christopher.k(legacy member)
Re: DataMatrix Too Big
Fixed it. Apparently, order matters.
I was setting the message, comment, and size parameters before I set the symbology. When I set the symbology, the message and comment reset to the "Morovia Corporation" default message.
When I set the symbology first, I get the barcode I was expecting.
Not sure if this is a bug or if this is the way its supposed to work, but at least its working now.
I was setting the message, comment, and size parameters before I set the symbology. When I set the symbology, the message and comment reset to the "Morovia Corporation" default message.
When I set the symbology first, I get the barcode I was expecting.
Not sure if this is a bug or if this is the way its supposed to work, but at least its working now.
- christopher.k(legacy member)
Re: DataMatrix Too Big
I am glad that it worked out for you.
http://mdn.morovia.com/manuals/bax3/sha ... ty.Message
This behavior is by design.
Because each symbology has its own character set, it is impossible to switch symbology while keeping the data intact. For example, UPC-A only encodes 11 or 12 digits. Switching from DataMatrix to UPC-A will without changing the message property cause an error. To avoid this problem, we decided that the Message property is reset to default value every time that Symbology is changed.
http://mdn.morovia.com/manuals/bax3/sha ... ty.Message
This behavior is by design.
Because each symbology has its own character set, it is impossible to switch symbology while keeping the data intact. For example, UPC-A only encodes 11 or 12 digits. Switching from DataMatrix to UPC-A will without changing the message property cause an error. To avoid this problem, we decided that the Message property is reset to default value every time that Symbology is changed.
- glitch (legacy member)
7 posts • Page 1 of 1
Return to Barcode ActiveX Control
Who is online
Users browsing this forum: No registered users and 2 guests