Barcode measure

Apr 15, 2015 at 2:33 PM

I'd like to know how can I measure the space occupied by a barcode on a label.
I use the method BarCodeWrite to write a CODE39_STD_EXT barcode; after that I would like to print a text with the method TextWrite near (to the right) to barcode, with a distance of 2-3 millimeters.

Any help?

Thanks a lot
Apr 15, 2015 at 3:36 PM
Unfortunately ZPL does not have any built-in capabilities for returning how large an element may be. Zebra doesn't have any documentation on how their printers generate these elements last I checked either.

You might be able to find out from the team that created - they can render how code39 will print, so they must have done some work in that field.