10 Replies Latest reply on Feb 7, 2019 7:35 AM by Soma Raju Saladi

    How to use SSCC-18 barcode in Zebra Designer for XML

    Soma Raju Saladi

      Hi,

       

      I am trying to print SSCC-18 barcode using a variable from Zebra Designer for XML.  But the print output is not printing (00) in the beginning of the string. 

       

      My variable value: 10495491303156301

      My expected value on print: (00)104954913031563017 (last digit is check digit that calculates automatically)

       

      My actual value on print: 104954913031563017

       

      Can someone help me how to resolve this issue.

       

      Thanks,

      Raju

        • Re: How to use SSCC-18 barcode in Zebra Designer for XML
          Dmitry Prokhorov

          Hello Soma,

           

          Could you please to share generated ZPL code of your label? Also you may need to check your printer firmware version.

          In case it is later than x.10.x you could be able to format the interpretation line with parentheses and spaces using  separate text field this way:

           

          ^XA

          ^FO25,25

          ^BCN,150,N,N,Y

          ^FD>;>10495491303156301^FS

          ^FO100,190

          ^A0N,50,40

          ^FD(00) 1 0495491 30315630 1^FS

          ^XZ

           

          Look here for details please:

          https://www.zebra.com/content/dam/zebra/manuals/printers/common/programming/zpl-zbi2-pm-en.pdf#page=84

           

          Dmitry Prokhorov

          Software Engineer, Kutir Mobility

          Posted on behalf of Zebra Technologies

            • Re: How to use SSCC-18 barcode in Zebra Designer for XML
              Soma Raju Saladi

              Hi Dmitry,

               

              Thanks for your response.  Here is the ZPL code that got generated from the label.

              I have used SSCC-18 in the field, - ^FN17^FDbarcode^FS where 'barcode' is the variable.

               

              My Printer Firmware Version is: V72.20.01Z

               

               

               

               

              ^FX[Fonts]^FS

               

               

              ^FX[Graphics]^FS

               

               

               

               

               

               

              ^FX[Format]^FS

               

               

              CT~~CD,~CC^~CT~

               

               

              ^XA

               

               

              ^DFE:CARQUEST.ZPL^FS

               

               

              ~TA000~JSN^LT0^MNW^MTD^PON^PMN^LH0,0^JMA^PR4,4^MD15^LRN^CI0

               

               

              ^MMT

               

               

              ^PW812

               

               

              ^LL1218

               

               

              ^LS0

               

               

              ^FO32,0^GFA,00768,00768,00012,:Z64:

              eJxjYBgFYCD/A8Hm/4FdnA9JvQwDsvg79gfKhw8kANlyDP/lP5R//1AAFv9n/6P+P5gt/+FDDRAUgNk/HlhYWFQYgM3/8KBApgAsDFSPYMswoIhbWBgYGEDFQaYUQMx/YP8DypZh+CD/ASHOfwCoPoEqITOsAQDPNTL2:629B

              ^FO416,0^GFA,01024,01024,00016,:Z64:

              eJzt0EEKwjAQBdCELFzWA4heo4KQq3iELrsQktJ7eJaULHqNES8ws3MhxmmSShQEN+46m/AY/mQSIZb6d4FwhVaEkm3u2RXCZP3I3iWb2Yc1TIey2RsZLeeZtbh2/Zn7lT1O3oowjEYoZ7CJ82wAH6yyOpuIvHfSNU20Qrj4nvtQx3nyBjQOTjk8pQtaAN+7V1/sgXzHecyu3/NNy/mR83m+Rkj3G0gmJB94f51cWc4X+8c/Kj+sfPyP/swv9a2eNWFl1g==:2B8A

              ^FO416,288^GFA,01024,01024,00016,:Z64:

              eJztkTFqQzEQRNf5YHVS62LRXiGlCoGu4iOodBFITuAz+SgLvsCm+8VH37MC+wgBQ2arx0gzi0T03jqsh5uYGIt9/4CXbdG0ppWb7QoOI5gMGc4GTsegEeJC6iwfobNgKlkHZ4qfT7+fiZjiJUP8BR8HKsUSc8zcVLW7z1U22WY+uNDpJKugX3ffBz5PrrTfyO+3gYSC/LtOvw12VfrV2Q/f89HvLMeeOPOrP42e5n7N1DmMHjhhmtml+3vocg0xuF/Of/wZ/3o7PQC4H1Op:E278

              ^FO416,416^GFA,00768,00768,00012,:Z64:

              eJztjrENwjAQRS+yhBsUtxSWb40UCFZhhNDR2QUlYiazyY1guitQjH2nMEMKfvX09PX1ATaQmhwFGJ6dY0b2MNzF03kJYMTP5XZcPRGHAK6mxpeZRg+2qie3+vgi68Hsdad78xB+558n1r7sX3sfdWeisfkFZL/4tn/QPp8C2El+lvjBor79ZOSdcEwuY1H+Z/P5AjYuPAU=:847E

              ^FT392,443^A0N,28,28^FB71,1,0^FH\^FDDEMO^FS

               

               

              ^FT227,187^A0N,28,28^FB71,1,0^FH\^FDDEMO^FS

               

               

              ^FT477,449^A0N,28,28^FB117,1,0,R^FH\^FN2^FDdelivery_number^FS

               

               

              ^FO407,671^GB0,175,3^FS

               

               

              ^FO402,281^GB0,215,3^FS

               

               

              ^FO402,5^GB0,279,3^FS

               

               

              ^FO40,847^GB753,0,4^FS

               

               

              ^FO38,667^GB753,0,3^FS

               

               

              ^FO35,497^GB753,0,4^FS

               

               

              ^FO27,281^GB753,0,4^FS

               

               

              ^FT432,92^A0N,28,28^FB380,1,0^FH\^FN4^FDcustomer_name^FS

               

               

              ^FT430,145^A0N,28,28^FB382,1,0^FH\^FN5^FDship_to_address1^FS

               

               

              ^FT430,191^A0N,28,28^FB382,1,0^FH\^FN6^FDship_to_city^FS

               

               

              ^FT633,193^A0N,28,28^FB53,1,0^FH\^FN7^FDship_to_state^FS

               

               

              ^FT683,191^A0N,28,28^FB65,1,0^FH\^FN8^FDship_to_postal_code^FS

               

               

              ^FT41,92^A0N,28,28^FB391,1,0^FH\^FN9^FDship_from_addressee^FS

               

               

              ^FT44,145^A0N,28,28^FB390,1,0^FH\^FN10^FDship_from_address1^FS

               

               

              ^FT41,191^A0N,28,28^FB391,1,0^FH\^FN11^FDship_from_city^FS

               

               

              ^FT294,191^A0N,28,28^FB65,1,0^FH\^FN13^FDship_from_postal_code^FS

               

               

              ^FT421,360^A0N,28,28^FB78,1,0^FH\^FN14^FDscac_code^FS

               

               

              ^FT460,805^A0N,102,100^FB270,1,0^FH\^FN15^FDship_to_address2^FS

               

               

              ^FT452,400^A0N,28,28^FB360,1,0^FH\^FN3^FDcarrier^FS

               

               

              ^BY3,3,89^FT264,610^BCN,,Y,N,N,A

               

               

              ^FN16^FDlpn^FS

               

               

              ^FT90,580^A0N,28,28^FB57,1,0^FH\^FDLPN:^FS

               

               

              ^FT244,192^A0N,28,28^FB52,1,0^FH\^FN12^FDship_from_state^FS

               

               

              ^FT90,745^A0N,28,28^FB198,1,0^FH\^FDHandling Unit: 1^FS

               

               

              ^FT90,779^A0N,28,28^FB198,1,0^FH\^FDPallet^FS

               

               

              ^BY4,3,160^FT107,1072^BCN,,Y,N,Y,U

               

               

              ^FN17^FDbarcode^FS

               

               

              ^XZ

               

               

              Thanks,

              Raju