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

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

Dmitry Prokhorov
Hello Soma,Could you please

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

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Soma Raju Saladi
Hi Dmitry,Thanks for your

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

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Dmitry Prokhorov
Hello Soma,As you can see in

Hello Soma,

As you can see in documentation on pages 83 and 84 there are two options to print barcode interpretation line with spaces and application id in parentheses:
1) By using D for the "mode" (m) parameter
2) By disabling interpretation line with N for the "print interpretation line parameter" (f) parameter and creating a separate text field. That field allows you to format the interpretation line with parentheses and spaces.

Please see all details, steps and requirements on mentioned pages in the document.

Dmitry Prokhorov

Software Engineer, Kutir Mobility

Posted on behalf of Zebra Technologies

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Soma Raju Saladi
Hi Dimitry,May I know how I

Hi Dimitry,

May I know how I can achieve it through ZebraDesigner for XML software instead of changing ZPL code.

Thanks,

Raju

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Dmitry Prokhorov
Hi Soma,For option #2 you

Hi Soma,

For option #2 you need to perform following steps:

1) Open "Edit Bar Code" dialog box for your barcode.

2) Open "Human Readable" tab.

3) Select "No interpretation" option and press OK button.

4) Create separate text field below your barcode.

Then while printing you will need to set value for two fields: your barcode field and separate interpretation line field.

Dmitry Prokhorov

Software Engineer, Kutir Mobility

Posted on behalf of Zebra Technologies

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Soma Raju Saladi
Hi Dmitry,To me it sounds

Hi Dmitry,

To me it sounds like an alternative solution which should work for me. 

Please let me know if you have any other solution meanwhile I test this.

Thanks,

Raju

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Dmitry Prokhorov
Hi Soma,Option #1 with D for

Hi Soma,

Option #1 with D for the "mode" (m) parameter is not available in Zebra Designer and need to be implemented by editing ZPL manually.

Option #2 with separate field for human readable line seems an only option that is available in Zebra Designer.

Dmitry Prokhorov

Software Engineer, Kutir Mobility

Posted on behalf of Zebra Technologies

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Soma Raju Saladi
Hi Dmitry,I have achieved it

Hi Dmitry,

I have achieved it in another way.  I have added '(00)' in my variable value and passed it to the label and it printed as expected.

But I am positive that your solution will also work.

I have another question.  I have added second Zebra printer on my PC and I am trying to change the label properties to take the new printer.  But the label designer is not showing the second printer in the list of values for the printers.  It is still showing only the first printer as available printer.  May I know how can I change the printer in the label?

Thanks,

Raju

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Dmitry Prokhorov
Hello Soma,Probably you may

Hello Soma,

Probably you may need to check your driver for second printer and reboot your computer.

In case it will not help you can try to re-install printer driver from Zebra Designer environment:
https://www.zebra.com/content/dam/zebra/manuals/software/zebradesigner/zebradesigner-pro-ug-en.pdf#page=13

Dmitry Prokhorov

Software Engineer, Kutir Mobility

Posted on behalf of Zebra Technologies

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Soma Raju Saladi
Dmitry,I have installed

Dmitry,

I have installed printer from ZebraDesigner for XML and it is now showing the new printer on the label.

Thanks,

Raju

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments