Search code examples
barcodezebra-printerszplzpl-iicode39

Skip special characters when printing code 39 using ZPL


I am trying to print code 39 Barcode using zebra ZPL. My Field Data is as follows :

^FDabc-def^etc..

Is there a command that will help skip the "-" in the Barcode? I only need to print "abcdef" without the special character.

Thanks.


Solution

  • In the code generating the ZPL, do a substring-replace and replace “-“ with “”.