Skip to Content
author's profile photo Former Member
Former Member

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


Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jan 13, 2015 at 03:26 PM

    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!



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 12, 2015 at 05:53 PM

    why don't you use the barcode technology in SAP itself instead of hurt yourself doing it with the commands?

    You can easy archive that by using smartforms or better IfbA.

    Or do I not get your problem right now?


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.