Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Barcode 39 ZPL too wide


I don't know if I'm right here, but I should print a barcode 39 and it is too wide for our label...

Here are the ZPL commands I used (printer is a Zebra ZM400):






I tried using the ^BY1 Command but then it is too small - so the scanner isn't able to read it.

The width should have max 8,5cm. Now it has about 11,5 cm.

Could you help me please?

Thanks in advance!

Best regards


Former Member

Hello Marcel,

I see you are composing the ZPL commands directly in the SAP form.

From the ZPL2 manual I see that width and height parameters of  barcodes can be set via the ^BY command ("Barcode Field Default"):



w = module (narrow bar) width in dots  (1 ..10)

r = wide bar to narrow bar width ratio (2.0 ... 3.0)

h = height of bars in dots (1..32000)

Attention: according to the manual, these settings stay in effect for consecutive barcodes as well!



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question