Barcode 128 A with Checksum

Has anyone had any success in creating a function that converts an alphnumeric string to barcode 128 A with a checksum? I seem to be running into some codepage issues that affect the checksum character.

What is your specific problem ?