Problem Barcode width

Hi Everyone,

I have a problem that has blocked me in my project for several weeks...

Let me explain, I have to translate an XML barcode into ZPL.

Problem : which ratio allows to know the width of the bar code in ZPL knowing that I have a width in cm in xml. Indeed the ^BY command only offers me the Width module with values between 1 and 10 so nothing really precise. Moreover I noticed that depending on the number of characters in the bar code it influences the width. So I would like to know if there is a conversion for the bar code width from cm to ZPL.

Thank you in advance Mathis Rousseau