13-digit EAN-128 is usually called SCC-14. It has an AI=01, and human readable format as
- Code: Select all
(01)XXXXXXXXXXXXXX
If you do not want to calculate the 14th check digit, you should use SCC14 function instead. The SCC14 function calculates the check digit for you.
If you use EAN128(), you need pass 16 digits as the input, including leading 01 and the last check digit, such as
- Code: Select all
(01)19421123450011
Note that you won't get the correct human readable in this case because thte parentheses are not encoded into barcode. You can format the barcode with a non-human-readable font (such as MRV Code128XS, S, M, T and XT), and put a text box below the barcode to hold the human readable text.