Prepare Code 128 value for ZPL command

V Victor Paredes 11 months 1 week ago
82 0 0

I am working on a program which sends a ZPL command to print a Code 128 barcode. The subset automatic flag on ^BC will not create the barcode as we need it so I need to set starter characters (>; >:) and switch characters (>5>6) to get around it. The Zebra Designer for Developers has the feature to Test Print which creates a file with the ZPL command and also formats the barcode value with the correct subset codes, etc...  So, to not reinvent the wheel, I am looking for the code used by the Zebra Designer for Developers to generate such formatted value. here is what Zebra designer produces (after the ^BC code)

e.g. D57N235012 = >:D57N>5235012

U100002017 =  >:U1>500002017

ZF0006753 = >:ZF0>5006753

CONTACT
Can’t find what you’re looking for?