I'm curious on how one would go about encoding the data for a UPS Maxicode barcode on a ZPL label. Currently we generate our own ZPL file using a template which we fill our data in with through a VB.NET program. The Maxicode barcode command is using all of the segments required filled out, nothing encoded or anything, just plain text. This normally works perfectly, unless for example the city happens to be more characters than a certain amount. When this happens, the Maxicode on the label comes out as black bar with the text "Invalid Line", and we have to manually adjust the data to force the barcode to display correctly when reprinting the label.
I haven't had any luck researching how to properly encode the data for a Maxicode, there are a lot of questions and articles asking how to decode them, in which there is mention of a DLL that UPS uses to decode these. I haven't been able to find anything related on UPS.com related to this matter, though.
Any leads would be greatly appreciated, thank you!