This Blog was created to help people solve bar code and data collection applications with Microscan bar code readers and vision systems.

Friday, March 10, 2006

How to encode Control Characters into ECC200 Datamatrix using ZPL



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




www.esolutionscompany.com






No comments: