Good morning,

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!

2 Years
Discussion Span
Last Post by rianbattle
Featured Replies
  • Have you seen this? [Click Here](http://www.idautomation.com/barcode-faq/2d/maxicode/) Read More

  • 1

    [This documentation](http://www.silverbaytech.com/files/maxicode/maxi_api.pdf) also provides some information on Maxicode (although it doesn't look like their product supports .NET). Read More

  • 1

    Looks like UPS has a program for software developers. Did you contact them? [UPS Developer Kit](https://www.ups.com/upsdeveloperkit?loc=en_US&WT.svl=SubNav) [UPS Developer Kit Community](https://developerkitcommunity.ups.com/index.php/Main_Page) [UPS Developer Resource Center](http://www.ups.com/content/us/en/resources/techsupport/developercenter.html?WT.svl=SubNav) [UPS Ready Program](http://www.ups.com/content/us/en/bussol/browse/ready_program.html) Read More


Thank you for the suggestions and replies. We are actually using the program for UPS because of the need to generate Sure Post labels without manually generating them in house (it's a really easy system...send them the data and get your label back to send to the printer). We only use the API to generate the Sure Post labels so those aren't a problem, but in house we create the ground labels ourselves (which is where we need the compression). I have tried contacting them but no luck so far...I was hoping for another suggestion but all leads seem to point to going through them to obtain what we need (or rewriting all our logic to send everything through UPS).

Thanks again for the replies!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.