4 Replies Latest reply on Oct 2, 2017 9:13 AM by Luis Medina

    Multiple barcode types in the same label?

    Luis Medina

      Hi all,

       

      I have an issue with a label that involves two barcode types, the first is Code 39 bar code, and the second one is QR.

       

      The problem I have is, when the first batch of labels is printed, the codes width is correct, and the QR prints fine too, but when a second batch of labels (printed in sequence because the items belongs to two different coil numbers) the width of the label is so large they overlaps above other codes. You can see the problem in the image below.

       

      I would like to know if there is any way to prevent this problem, thanks in advance!

       

      IMG_2664.JPG

        • Re: Multiple barcode types in the same label?
          Steven Si

          Has the number of digits changed in the bar code in the second batch? The bar code would become wider if it needs to encode more digits.

            • Re: Multiple barcode types in the same label?
              Luis Medina

              Yes, the number of digits change in the second label maybe in one of the fields

                • Re: Multiple barcode types in the same label?
                  Robin West

                  Hi Luis, Can you share the ZPL you are sending for the batch?  If not, can you share what the first, correct label looks like?

                    • Re: Multiple barcode types in the same label?
                      Luis Medina

                      Hi Robin, thanks for your assistance

                       

                      Here is the code:

                       

                       

                       

                      PUT UNFORMATTED "^XA~TA000~JSN^LT0^MMT^MNW^MTT^PON^PMN^LH0,0^JMA^PR4,4^MD0^JUS^LRN^CI0^XZ".

                      PUT UNFORMATTED "^XA^LL1421".

                      PUT UNFORMATTED "^PW812".

                       

                       

                      /* LÍNEAS DE DIBUJO */

                       

                       

                      PUT UNFORMATTED "^FO260,420^GB0,730,6^FS". /* linea superior*/

                      PUT UNFORMATTED "^FO470,5^GB0,1150,6^FS". /* linea media*/

                      PUT UNFORMATTED "^FO650,600^GB0,550,6^FS". /* linea inferior*/

                       

                       

                      PUT UNFORMATTED "^FO595,5^GB0,600,6^FS". /* linea media columnas */

                      PUT UNFORMATTED "^FO715,5^GB0,600,6^FS". /* linea media columnas 2*/

                       

                       

                      PUT UNFORMATTED "^FO470,600^GB250,10^FS". /* línea vertical media*/

                      PUT UNFORMATTED "^FO470,300^GB250,10^FS". /* línea vertical derecha */

                       

                       

                      /* ENCABEZADOS DE INFORMACION*/

                       

                       

                      /* Encabezado de información */ /* Luis Medina, 2017 */

                      PUT UNFORMATTED "^FT40,1150^A0B,23,27^FH\^FDNUM. PARTE^FS".

                      PUT UNFORMATTED "^FT60,1150^A0B,23,23^FH\^FD(P).^FS".

                      PUT UNFORMATTED "^FT250,1150^A0B,23,27^FH\^FD" + string(pt_desc1) + "^FS".

                      PUT UNFORMATTED "^FT410,750^A0B,23,27^FH\^FDRAN (15K)^FS".

                      PUT UNFORMATTED "^FT290,1150^A0B,23,27^FH\^FDCANTIDAD^FS".

                      PUT UNFORMATTED "^FT310,1150^A0B,23,27^FH\^FD(Q).^FS".

                      PUT UNFORMATTED "^FT450,1150^A0B,23,27^FH\^FD" + string(today) + "^FS".

                      PUT UNFORMATTED "^FT500,1150^A0B,23,24^FH\^FDPROVEEDOR^FS".

                      PUT UNFORMATTED "^FT520,1150^A0B,23,24^FH\^FD(V)^FS".

                      PUT UNFORMATTED "^FT680,1150^A0B,23,24^FH\^FDSERIAL^FS".

                      PUT UNFORMATTED "^FT700,1150^A0B,23,23^FH\^FD(S).^FS".

                      PUT UNFORMATTED "^FT800,1150^A0B,20,20^FH\^FDSTEEL TECHNOLOGIES DE MEXICO S.A. DE C.V.^FS".

                      PUT UNFORMATTED "^FT500,580^A0B,23,24^FH\^FDYP^FS".

                      /*PUT UNFORMATTED "^FT500,280^A0B,23,24^FH\^FD" + + "^FS".*/

                      PUT UNFORMATTED "^FT630,580^A0B,23,24^FH\^FDTS^FS".

                      PUT UNFORMATTED "^FT630,280^A0B,23,24^FH\^FDEL^FS".

                      PUT UNFORMATTED "^FT770,280^A0B,30,30^FH\^FD" + string(time,"HH:MM:SS") + "^FS".

                       

                       

                      /*VALORES*/

                       

                       

                      /*Número de Parte */

                      PUT UNFORMATTED "^FT110,980^A0B,120,120^FH\^FD" + vparte + "^FS".

                       

                       

                      /*Descripción*/

                       

                       

                      /*Cantidad*/

                      PUT UNFORMATTED "^FT330,1000^A0B,80,80^FH\^FD" + string(abs_qty) + "^FS".

                      /*Ran*/

                      PUT UNFORMATTED "^FT450,650^A0B,100,100^FH\^FD NA12345 ^FS".

                      /*Proveedor*/

                      PUT UNFORMATTED "^FT510,800^A0B,40,40^FH\^FD" numproveedor "^FS".

                      /*Serial*/

                      PUT UNFORMATTED "^FT690,1050^A0B,40,40^FH\^FD" + pserial + "^FS".

                      /*Localizaciones*/

                      PUT UNFORMATTED "^FT580,580^A0B,100,100^FH\^FD" + string(pYP) + "^FS".

                      PUT UNFORMATTED "^FT710,580^A0B,100,100^FH\^FD" + string(pTS) + "^FS".

                      PUT UNFORMATTED "^FT710,300^A0B,100,100^FH\^FD" + string(pYP) + "^FS".

                       

                       

                      /* CÓDIGOS DE BARRAS*/

                      /*Numero de parte*/

                       

                       

                      PUT UNFORMATTED '^FT220,1150^A0B,30,30^FH\^FD'.

                      PUT UNFORMATTED '^FT220,1150^B3,80,80,N,N,N'.

                      PUT UNFORMATTED "^FT220,1150^A0B,30,30^FH\^FD" + pparte + "^FS".

                       

                       

                      /*Cantidad*/

                       

                       

                      PUT UNFORMATTED '^FT425,1150^A0B,30,30^FH\^FD'.

                      PUT UNFORMATTED '^FT425,1150^B3,80,80,N,N,N'.

                      PUT UNFORMATTED "^FT425,1150^A0B,30,30^FH\^FD" + pcantidad + "^FS".

                       

                       

                      /*Ran*/

                       

                       

                      PUT UNFORMATTED '^FT370,750^A0B,30,30^FH\^FD'.

                      PUT UNFORMATTED '^FT370,750^B3,80,80,N,N,N'.

                      PUT UNFORMATTED "^FT370,750^A0B,30,30^FH\^FD" + pran + "^FS".

                       

                       

                      /*Proveedor*/

                       

                       

                      PUT UNFORMATTED '^FT625,1150^A0B,30,30^FH\^FD'.

                      PUT UNFORMATTED '^FT625,1150^B3,80,80,N,N,N'.

                      PUT UNFORMATTED "^FT625,1150^A0B,30,30^FH\^FD" + pproveedor + "^FS".

                       

                       

                      /*Serial*/

                       

                       

                      PUT UNFORMATTED '^FT770,1150^A0B,10,10^FH\^FD'.

                      PUT UNFORMATTED '^FT770,1150^B3,60,60,N,N,N'.

                      PUT UNFORMATTED '^FT780,1150^A0B,10,10^FH\^FD' + pserial + '^FS'.

                       

                       

                      /*QR*/

                       

                       

                      PUT UNFORMATTED "^FO40,100^BQr,2,4^FDD03048F,LA," '' string(vparte) format "x(13)" '' + '' string(ran) format "x(8)" '' + '' string(vpiezas) format "x(4)" '' + '' string(pfechaprod) format "x(8)" '' + '' string(vserial) format "x(20)" '' + '' string(porigen) format "x(50)" '' + '' string(pmolino) format "x(20)" '' + '' string(vpesoneto) format "x(7)" '' + '' string(pancho) format "x(4)" '' + '' string(pavance) format "x(4)" '' + '' string(pespesor) format "x(4)" '' + '' string(pfechaingr) format "x(8)" '' + '' string(pinspecc) format "x(20)" '' + '' string(pespec) format "x(15)" '' + '' string(ppeso) format "x(7)" ''  + '' string(pYP) format "x(6)" '' + '' string(pTS) format "x(6)" '' + '' string(vElongacion) format "x(6)" '' + '' string(pTop) format "x(6)" '' + '' string(pBottom) format "x(6)" '' + '' string(plaser) format "x(8)" '' + '' string(pcert) format "x(19)" '' + '' string(pfechacaducidad) format "x(8)" '' + '' string(pfechacompas) format "x(8)" '' "^FS".

                       

                       

                      PUT UNFORMATTED "^PQ1,0,1,Y^XZ".