Barcode Generator, EAN Code 128

It seems your FieldValue parameter contains illegal characters, because some characters are illegal in Code39, please remove illegal characters from FieldValue to try again.
you were right. I used constant vbNewline (CR + LF), when using vbLf (LF) barcoding was ok.
But the problem stays with the PostNet, Inter25, PDF417, Codabar: they are not generated
I used the pdf and the following parameters
DM_322=>Datamatrix=>01034009377771791712073110BXBWWW22        ok
BC128_322=>Code128=>$91S2345678$96BXBWWW22                        ok
BC39_20=>Code39=>87654321                                                        ok
EAN_322=>EAN=>1234567890121                                                ok
BCodabar_10=>Codabar=>A123456A                                                missing
Inter25_21=>Inter25=>25                                                                missing                                                        
PDF417_10=>PDF417=>417                                                        missing
Postnet_10=>Postnet=>000111                                                        missing
We can get these barcodes work without any problem, we have created a test package to you, please download it from following URL to try by yourself,
also, the following code is wrong,
Inter25_21=>Inter25=>25                                                                missing                    
the length of "Inter25" should be odd, so please change it to "255" to try again.
If you still have same problem, please send to us a project to show your problem, after we reproduce your problem in our system, we will figure out a solution to you asap.
I tried the software with your PDF-File and everything is ok ! Thanks for that. I will use your PDF as a template.
So the only thing that I need is and that would make Barcoding complete:
A type EANCode128 with application identifiers marked as (01), (17) so we give (01)12345678901234(17)141231
and the procedure produces the correct string with FNC1 chars.
>>A type EANCode128 with application identifiers marked as (01), (17) so we give (01)12345678901234(17)141231
>>and the procedure produces the correct string with FNC1 chars.
Thanks for your message, can you get correct EANCode128 barcode image with "(01)12345678901234(17)141231" string? If you encounter any problem with EANCode128 barcode string, please feel free to let us know, we will research this problem for you asap.

as far as I understand you want an example for EAN128 with application identifier (01) and (17) ?
This is the result (done by a special program of us)
and this should be generated with a call
Challenge is clear ?
I have checked with our engineer just now, our engineer told me that our PDFFormSDK product is support "EAN" only, it doesn't support "EANCode128", "EAN" is also named "EAN13", you can find the information for EAN or ENA13 at below,

Home > Barcode Basics > Different Types of Barcodes > EAN-13
EAN-13 is used world-wide for marking retail goods. The symbol encodes 13 characters: the first two or three are a country code which identify the country in which the manufacturer is registered (not necessarily where the product is actually made).  The country code is followed by 9 or 10 data digits (depending on the length of the country code) and a single digit checksum. 2-digit and 5-digit supplemental barcodes may be added for a total of 14 or 17 data digits.

The Uniform Code Council (the organization which issues retail codes in the USA) has announced that January 1, 2005 will be the date by which all retail scanning systems in the USA must be able to accept the EAN-13 symbol as well as the standard UPC-A. This change will eliminate the need for manufacturers who export goods to the US and Canada to double-label their products.

The checksum is a Modulo 10 calculation:

Add the values of the digits in the even-numbered positions: 2, 4, 6, etc.
Multiply this result by 3.
Add the values of the digits in the odd-numbered positions: 1, 3, 5, etc.
Sum the results of steps 2 and 3.
The check character is the smallest number which, when added to the result in step 4, produces a multiple of 10.
Example: Assume the barcode data = 001234567890

0 + 2 + 4 + 6 + 8 + 0 = 20
20 * 3 = 60
0 + 1 + 3 + 5 + 7 + 9 = 25
60 + 25 = 85
85 + X = 90 (nearest equal or higher multiple of 10), therefore X = 5 (checksum)
Here is a sample Visual Basic function to calculate the checksum:

Function Append_EAN_Checksum (RawString as String)
Dim    Position as Integer
Dim    CheckSum as Integer

CheckSum = 0
For Position = 2 to 12 step 2
      Checksum = Checksum + Val(Mid$(RawString, Position, 1))
Next Position
CheckSum = CheckSum * 3
For Position = 1 to 11 Step 2
     CheckSum = CheckSum + Val(Mid$(RawString, Position, 1))
Next Position
CheckSum = CheckSum Mod 10
CheckSum = 10 - CheckSum
If CheckSum = 10 Then
     CheckSum = 0
End If
Append_Ean_Checksum = RawString & Format$(CheckSum, "0")
End Function

Many countries have EAN coding authorities which regulate the use of retail barcodes. For names, addresses, and telephone numbers, check our list of standards organizations.  In the United States the UPC-A and UPC-E symbologies are used for marking retail products; the administering authority is the Uniform Code Council in Dayton, Ohio (tel. 937-435-3870).

The USA has begun the process of moving to the EAN-13 symbol, which will be known as the UPC-13 symbol in the USA.  Existing UPC-A codes do not have to be changed, but new identification numbers issued will follow the UPC-13 format. This means that imported products labeled with EAN-13 codes do not have to be re-labeled for USA retail sale.  The official date by which all retail scanning systems must accept the EAN-13 code is January 1, 2005.
This is an example of EAN13 barcode,
however, we don’t know what is "EANCode128", we can’t found "EANCode128" in "Adobe LiveCycle Designer ES 8.2" too, please refer to following attached screenshot, we can found EAN13 and EAN8 only, we can’t found "EANCode128".

Our PDFFormSDK doesn’t support "EANCode128" barcode type, sorry for this matter.

Continue to previous email, do you mean the "Code128" for the "EANCode128"? please use Code128 to instead of EANCode128 to try again, will Code128 reach your requirement?

the thing is that Code128 as it is realized is ok.
When I say EAN128 (or EAN UCC ...) I mean Code128 with special formatted string, the string contains so called application identifiers.
This "Code" is used to identify the meaning of the string-content : for example if the AI 17 is found in the string it is worldwide clear
that there follows a date in form yymmdd, if AI 01 is found then there follows a 14-char string, if AI 10 is found then follows a batch
and the length is found by looking for next FNC1 ...

Detailed information about AI's s.

The idea for having "EAN-Code128" as a type in your software is that we don't need to build the EAN-formatted-string and then afterwards
use your realized type Code128.
Thanks for your message, I'm glad to hear from you that Code128 is work OK to you, thank you.

We will try to add an alias "EAN-Code128" to Code128 in the future releases.

If you encounter any problem for the barcode SDK product, please feel free to let us know, we are glad to assist you asap.


VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Verify Code   If you cannot see the CheckCode image,please refresh the page again!