4 Replies Latest reply on Jun 8, 2017 11:29 PM by Alexander Herrmann

    Code doesn't fit into label - please help!

    Alexander Herrmann

      Hello,

       

      I've searched for a solution, but didn't find one. Perhaps you can help me:

       

      I've a small label (4 x 2 cm, GK420D) and I want to place a barcode. The problem is that this barcode will change for every item in type and length. For example: a code with 16 characters (CC00000000001234) is fitting well on the label, BUT a shorter code with just 13 characters (9GG1234L98765) doesn't fit (is to long) ! Why?

       

      Here is my ZPL code - what's wrong with it?

       

      LOOKS GOOD:

      ^XA

      ^LH145,15

      ^FO0,40^BY2^BCN,40,Y,N,N,A^FDCC00000000001234^FS

      ^XZ

       

      LOOKS BAD:

      ^XA

      ^LH145,15

      ^FO0,40^BY2^BCN,40,Y,N,N,A^FD9GG1234L98765^FS

      ^XZ

       

      I've tested it with ZPL Viewer and printed it, in both situations the barcode is to long - when I'm using the shorter code!

       

      Thanks a lot for your help!!!

       

      Alex