Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

EAN UCC 128 encoding for AI 420

EAN UCC 128 encoding for AI 420

EAN UCC 128 encoding for AI 420

I have inherited an application (vb.net)  that produces a shipping label and packing list.  Part of the shipping label is a EAN UCC 128 barcode for the shipping zip code.  I don't fully understand the code that generates this barcode, but it works for US zip codes (5 digit numeric ex 27215)

Now this application has to work for Canadian zip codes as well (5 digits alphanumeric  ex V6E2Y)
The existing code crashes because it doesn't pair up numbers to encode.

Does anyone have some insight and possibly a routine to encode these Canadian EAN UCC 128 barcodes correctly?

Thanks in advance!


RE: EAN UCC 128 encoding for AI 420

>> The existing code crashes because it doesn't pair up
>> numbers to encode.

This might imply that your existing code, expecting only pairs of digits, is only capable of generating 'subset C' characters.

But with alphanumeric input, regardless of whether or not it is an even numebr of characters, you'd need to generate 'subset B' output characters.

You really need to obtain, read and digest a specification of the Code 128 symbology; I'm not sure if there is a 'free to download' official specification (ISO and AIM will charge for specification documents), but there are probably plenty of sites which provide a precis of the specification & mechanism; Wikipedia might be a good place to start?

RE: EAN UCC 128 encoding for AI 420

Thanks for the info.  Yes,  I know I have to go to B subset.  I'm getting pretty close except that the barcode AB Tall that I'm trying to use dosen't map the FNC1 to the same location... Grrrrrrrr

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close