Zebra software puts a \& in your code when you hit Ctrl M. This may work for other symbologies but not datamatrix. The ZPL manual is very cryptic and I think incorrect. It makes no mention of using the Hex values of the control characters. The underscore character tells ZPL to start an escape sequence.
You must use the Hex value not Decimal. – Carriage Return is 0D so _0D encodes a carriage return in your datamatrix data string.
Here’ a sample string
^FO245,84^BXN,5,200,,,,_^FH^FD12345_0D^FS
No comments:
Post a Comment